* [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
@ 2010-10-20 17:39 Joe Perches
2010-10-21 10:37 ` Artem Bityutskiy
0 siblings, 1 reply; 3+ 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] 3+ messages in thread
* Re: [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME
2010-10-20 17:39 [PATCH] drivers/mtd/devices/phram.c: Use KBUILD_MODNAME Joe Perches
@ 2010-10-21 10:37 ` Artem Bityutskiy
2010-10-22 8:39 ` Jörn Engel
0 siblings, 1 reply; 3+ 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] 3+ 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
0 siblings, 0 replies; 3+ 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] 3+ messages in thread
end of thread, other threads:[~2010-10-22 9:13 UTC | newest]
Thread overview: 3+ 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-21 10:37 ` Artem Bityutskiy
2010-10-22 8:39 ` Jörn Engel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).