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


Groups > linux.kernel > #1490649

[PATCH 3/4] Input-gameport: Add the macro "pr_fmt" for module "joydump"

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject [PATCH 3/4] Input-gameport: Add the macro "pr_fmt" for module "joydump"
Date 2016-09-24 15:50 +0200
Message-ID <skVv3-1Az-19@gated-at.bofh.it> (permalink)
References <skVv3-1Az-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 24 Sep 2016 14:30:44 +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/input/joystick/joydump.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/input/joystick/joydump.c b/drivers/input/joystick/joydump.c
index f9f6cbe..a38f10e 100644
--- a/drivers/input/joystick/joydump.c
+++ b/drivers/input/joystick/joydump.c
@@ -27,6 +27,8 @@
  * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/module.h>
 #include <linux/gameport.h>
 #include <linux/kernel.h>
-- 
2.10.0

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


Thread

[PATCH 3/4] Input-gameport: Add the macro "pr_fmt" for module  "joydump" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-09-24 15:50 +0200
  Re: [PATCH 3/4] Input-gameport: Add the macro "pr_fmt" for module  "joydump" Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-09-24 18:50 +0200
    Re: [PATCH 3/4] Input-gameport: Add the macro "pr_fmt" for module  "joydump" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-09-24 19:00 +0200
      Re: [PATCH 3/4] Input-gameport: Add the macro "pr_fmt" for module  "joydump" Joe Perches <joe@perches.com> - 2016-09-24 19:10 +0200
        Re: Input-gameport: Add the macro "pr_fmt" for module "joydump" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-09-24 19:50 +0200
          Re: Input-gameport: Add the macro "pr_fmt" for module "joydump" Joe Perches <joe@perches.com> - 2016-09-24 20:10 +0200
            Re: Input-gameport: Add the macro "pr_fmt" for module "joydump" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-09-24 20:50 +0200

csiph-web