Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1641616

[PATCH 3/4] pcmcia: pd6729: Add the macro "pr_fmt"

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject [PATCH 3/4] pcmcia: pd6729: Add the macro "pr_fmt"
Date 2017-05-15 14:30 +0200
Message-ID <tHnip-8aQ-5@gated-at.bofh.it> (permalink)
References <tHnip-8aQ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 May 2017 13:15:33 +0200

Add a definition for the macro "pr_fmt" so that its information can be used
for consistent message output.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/pcmcia/pd6729.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c
index a723ffbbd691..b3422119820a 100644
--- a/drivers/pcmcia/pd6729.c
+++ b/drivers/pcmcia/pd6729.c
@@ -7,6 +7,8 @@
  * the GNU General Public License, incorporated herein by reference.
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/slab.h>
-- 
2.13.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] PCMCIA-PD6729: Adjustments for four function  implementations SF Markus Elfring <elfring@users.sourceforge.net> - 2017-05-15 14:30 +0200
  [PATCH 3/4] pcmcia: pd6729: Add the macro "pr_fmt" SF Markus Elfring <elfring@users.sourceforge.net> - 2017-05-15 14:30 +0200
  [PATCH 1/4] pcmcia: pd6729: Use kcalloc() in pd6729_pci_probe() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-05-15 14:30 +0200
  [PATCH 4/4] pcmcia: pd6729: Combine substrings for six messages SF Markus Elfring <elfring@users.sourceforge.net> - 2017-05-15 14:40 +0200

csiph-web