summaryrefslogtreecommitdiffstats
path: root/fs/cramfs/uncompress.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 23:22:50 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:25 +0200
commit4f21e1ea09e1e337604f235a22ec2493ae1bd1db (patch)
treeaddf15ae5c01d75e2eac5c37af44f574aa941892 /fs/cramfs/uncompress.c
parentfs/cramfs: convert printk to pr_foo() (diff)
downloadlinux-4f21e1ea09e1e337604f235a22ec2493ae1bd1db.tar.xz
linux-4f21e1ea09e1e337604f235a22ec2493ae1bd1db.zip
fs/cramfs: use pr_fmt
Use module name for "cramfs: " prefix. (note that uncompress.c printk had no prefix). Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/cramfs/uncompress.c')
-rw-r--r--fs/cramfs/uncompress.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cramfs/uncompress.c b/fs/cramfs/uncompress.c
index 76428ccab157..b7f030ba316d 100644
--- a/fs/cramfs/uncompress.c
+++ b/fs/cramfs/uncompress.c
@@ -15,6 +15,8 @@
* then is used by multiple filesystems.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/vmalloc.h>