summaryrefslogtreecommitdiffstats
path: root/fs/befs/befs.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 14:50:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 16:21:25 -0700
commitdac52fc1826a788d2591a4f77e3c482b30f577e2 (patch)
tree8285a85761dd57e71497cd53482cd38031c677de /fs/befs/befs.h
parent91a52ab7d664a1c8972a0ecb30955d34aea54d7f (diff)
downloadlinux-dac52fc1826a788d2591a4f77e3c482b30f577e2.tar.bz2
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 *);