aboutsummaryrefslogtreecommitdiffstats
path: root/fs/affs/affs.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-12-12 19:57:49 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 15:42:51 -0500
commit1ee54b099acecb928bc76ea4beca668697b4a4d0 (patch)
treefc2a748e4f703bde9ab50b061eb4e79bcf03cf6b /fs/affs/affs.h
parent7633978b43ebe3ec4759ef069acd7bf3d743b79c (diff)
fs/affs/amigaffs.c: use va_format instead of buffer/vnsprintf
-Remove ErrorBuffer and use %pV -Add __printf to enable argument mistmatch warnings Original patch by Joe Perches. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/affs/affs.h')
-rw-r--r--fs/affs/affs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h
index 9bca88159725..ff44ff3ff015 100644
--- a/fs/affs/affs.h
+++ b/fs/affs/affs.h
@@ -135,8 +135,10 @@ extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
135extern void secs_to_datestamp(time_t secs, struct affs_date *ds); 135extern void secs_to_datestamp(time_t secs, struct affs_date *ds);
136extern umode_t prot_to_mode(u32 prot); 136extern umode_t prot_to_mode(u32 prot);
137extern void mode_to_prot(struct inode *inode); 137extern void mode_to_prot(struct inode *inode);
138__printf(3, 4)
138extern void affs_error(struct super_block *sb, const char *function, 139extern void affs_error(struct super_block *sb, const char *function,
139 const char *fmt, ...); 140 const char *fmt, ...);
141__printf(3, 4)
140extern void affs_warning(struct super_block *sb, const char *function, 142extern void affs_warning(struct super_block *sb, const char *function,
141 const char *fmt, ...); 143 const char *fmt, ...);
142extern bool affs_nofilenametruncate(const struct dentry *dentry); 144extern bool affs_nofilenametruncate(const struct dentry *dentry);