All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
@ 2010-10-20 17:39 ` Joe Perches
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Perches @ 2010-10-20 17:39 UTC (permalink / raw)
  To: Joern Engel; +Cc: linux-mtd, David Woodhouse, LKML

Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
No change in output strings.

Signed-off-by: Joe Perches <joe@perches.com>
---
diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c
index 1696bbe..5239328 100644
--- a/drivers/mtd/devices/phram.c
+++ b/drivers/mtd/devices/phram.c
@@ -15,7 +15,7 @@
  *	phram=swap,64Mi,128Mi phram=test,900Mi,1Mi
  */
 
-#define pr_fmt(fmt) "phram: " fmt
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <asm/io.h>
 #include <linux/init.h>

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
@ 2010-10-20 17:39 ` Joe Perches
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Perches @ 2010-10-20 17:39 UTC (permalink / raw)
  To: Joern Engel; +Cc: David Woodhouse, linux-mtd, LKML

Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
No change in output strings.

Signed-off-by: Joe Perches <joe@perches.com>
---
diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c
index 1696bbe..5239328 100644
--- a/drivers/mtd/devices/phram.c
+++ b/drivers/mtd/devices/phram.c
@@ -15,7 +15,7 @@
  *	phram=swap,64Mi,128Mi phram=test,900Mi,1Mi
  */
 
-#define pr_fmt(fmt) "phram: " fmt
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <asm/io.h>
 #include <linux/init.h>



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
  2010-10-20 17:39 ` Joe Perches
@ 2010-10-21 10:37   ` Artem Bityutskiy
  -1 siblings, 0 replies; 6+ messages in thread
From: Artem Bityutskiy @ 2010-10-21 10:37 UTC (permalink / raw)
  To: Joe Perches; +Cc: David Woodhouse, Joern Engel, LKML, linux-mtd

On Wed, 2010-10-20 at 10:39 -0700, Joe Perches wrote:
> Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> No change in output strings.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Pushed to l2-mtd-2.6.git, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
@ 2010-10-21 10:37   ` Artem Bityutskiy
  0 siblings, 0 replies; 6+ messages in thread
From: Artem Bityutskiy @ 2010-10-21 10:37 UTC (permalink / raw)
  To: Joe Perches; +Cc: Joern Engel, David Woodhouse, linux-mtd, LKML

On Wed, 2010-10-20 at 10:39 -0700, Joe Perches wrote:
> Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> No change in output strings.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Pushed to l2-mtd-2.6.git, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
  2010-10-21 10:37   ` Artem Bityutskiy
@ 2010-10-22  8:39     ` Jörn Engel
  -1 siblings, 0 replies; 6+ messages in thread
From: Jörn Engel @ 2010-10-22  8:39 UTC (permalink / raw)
  To: Artem Bityutskiy
  Cc: Joe Perches, David Woodhouse, Joern Engel, LKML, linux-mtd

On Thu, 21 October 2010 13:37:32 +0300, Artem Bityutskiy wrote:
> On Wed, 2010-10-20 at 10:39 -0700, Joe Perches wrote:
> > Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> > No change in output strings.
> > 
> > Signed-off-by: Joe Perches <joe@perches.com>
> 
> Pushed to l2-mtd-2.6.git, thanks.

Fine with me. (aka Acked-By:)

Jörn

-- 
"Error protection by error detection and correction."
-- from a university class

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
@ 2010-10-22  8:39     ` Jörn Engel
  0 siblings, 0 replies; 6+ messages in thread
From: Jörn Engel @ 2010-10-22  8:39 UTC (permalink / raw)
  To: Artem Bityutskiy
  Cc: Joe Perches, Joern Engel, David Woodhouse, linux-mtd, LKML

On Thu, 21 October 2010 13:37:32 +0300, Artem Bityutskiy wrote:
> On Wed, 2010-10-20 at 10:39 -0700, Joe Perches wrote:
> > Use the more standard #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> > No change in output strings.
> > 
> > Signed-off-by: Joe Perches <joe@perches.com>
> 
> Pushed to l2-mtd-2.6.git, thanks.

Fine with me. (aka Acked-By:)

Jörn

-- 
"Error protection by error detection and correction."
-- from a university class

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-22  9:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20 17:39 [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME Joe Perches
2010-10-20 17:39 ` Joe Perches
2010-10-21 10:37 ` Artem Bityutskiy
2010-10-21 10:37   ` Artem Bityutskiy
2010-10-22  8:39   ` Jörn Engel
2010-10-22  8:39     ` Jörn Engel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.