projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed2ae6f
)
fs/udf: Add printf format/argument verification
author
Joe Perches
<joe@perches.com>
Wed, 10 Nov 2010 23:46:18 +0000
(15:46 -0800)
committer
Jan Kara
<jack@suse.cz>
Thu, 6 Jan 2011 16:03:54 +0000
(17:03 +0100)
Add __attribute__((format... to udf_warning.
All arguments matched formats, no other changes necessary.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/udfdecl.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/udfdecl.h
b/fs/udf/udfdecl.h
index 6995ab1f4305bce6747b578e491d9052b5028e66..74d58c08ebac5562922da86595fc1a253130234f 100644
(file)
--- a/
fs/udf/udfdecl.h
+++ b/
fs/udf/udfdecl.h
@@
-111,6
+111,8
@@
struct extent_position {
};
/* super.c */
+
+__attribute__((format(printf, 3, 4)))
extern void udf_warning(struct super_block *, const char *, const char *, ...);
static inline void udf_updated_lvid(struct super_block *sb)
{