Skip to contentSkip to conversation

drivers/mtd/devices/phram.c: Use KBUILD_MODNAME

PATCH Applied Joe Perches 3 participants 3 messages Oct 20, 2010 – Oct 22, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/mtd/devices/phram.c: Use KBUILD_MODNAME

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

---

drivers/mtd/devices/phram.c +1 -1
index 1696bbe..5239328 100644
@@ -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>
#1 lore raw
Quoted 4 lines · Joe Perches

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

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

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
#2 lore raw
Quoted 7 lines · Artem Bityutskiy
Quoted 4 lines · Joe Perches

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

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

Fine with me. (aka Acked-By:)

Jörn

Signature · 2 lines
"Error protection by error detection and correction."
-- from a university class