projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1469488
)
fs/squashfs/super.c: logging cleanup
author
Fabian Frederick
<
[email protected]
>
Wed, 6 Aug 2014 23:03:52 +0000
(16:03 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 7 Aug 2014 01:01:13 +0000
(18:01 -0700)
- Convert printk to pr_foo()
- Add pr_fmt for future logging entries
- Coalesce formats
Signed-off-by: Fabian Frederick <
[email protected]
>
Cc: Phillip Lougher <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/squashfs/super.c
patch
|
blob
|
history
diff --git
a/fs/squashfs/super.c
b/fs/squashfs/super.c
index 031c8d67fd5178bb5afca2b04c71637254b46873..5056babe00df93249465c22b8b6dc6d0ebc1723d 100644
(file)
--- a/
fs/squashfs/super.c
+++ b/
fs/squashfs/super.c
@@
-27,6
+27,8
@@
* the filesystem.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/fs.h>
#include <linux/vfs.h>
#include <linux/slab.h>
@@
-448,8
+450,7
@@
static int __init init_squashfs_fs(void)
return err;
}
- printk(KERN_INFO "squashfs: version 4.0 (2009/01/31) "
- "Phillip Lougher\n");
+ pr_info("version 4.0 (2009/01/31) Phillip Lougher\n");
return 0;
}