summaryrefslogtreecommitdiffstats
path: root/fs/befs/befs.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 23:50:23 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:25 +0200
commitdac52fc1826a788d2591a4f77e3c482b30f577e2 (patch)
tree8285a85761dd57e71497cd53482cd38031c677de /fs/befs/befs.h
parentfs/befs/linuxvfs.c: add __init to befs_init_inodecache() (diff)
downloadlinux-dac52fc1826a788d2591a4f77e3c482b30f577e2.tar.xz
linux-dac52fc1826a788d2591a4f77e3c482b30f577e2.zip
BEFS: logging cleanup
Summary: - all printk(KERN_foo converted to pr_foo() - add pr_fmt and remove redundant prefixes - convert befs_() to va_format (based on patch by Joe Perches) - remove non standard %Lu - use __func__ for all debugging [akpm@linux-foundation.org: fix printk warnings, reported by Fengguang] Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joe Perches <joe@perches.com> Cc: Fengguang Wu <fengguang.wu@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/befs/befs.h')
-rw-r--r--fs/befs/befs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h
index b26642839156..3a7813ab8c95 100644
--- a/fs/befs/befs.h
+++ b/fs/befs/befs.h
@@ -88,8 +88,11 @@ enum befs_err {
/****************************/
/* debug.c */
+__printf(2, 3)
void befs_error(const struct super_block *sb, const char *fmt, ...);
+__printf(2, 3)
void befs_warning(const struct super_block *sb, const char *fmt, ...);
+__printf(2, 3)
void befs_debug(const struct super_block *sb, const char *fmt, ...);
void befs_dump_super_block(const struct super_block *sb, befs_super_block *);