projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9810446
)
ext4: silence a format string false positive
author
Dan Carpenter
<dan.carpenter@oracle.com>
Sat, 15 Aug 2015 15:38:13 +0000
(11:38 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 15 Aug 2015 15:38:13 +0000
(11:38 -0400)
Static checkers complain that the format string should be "%s". It does
not make a difference for the current code.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mmp.c
patch
|
blob
|
history
diff --git
a/fs/ext4/mmp.c
b/fs/ext4/mmp.c
index
048c52a
..
6eb1a61
100644
(file)
--- a/
fs/ext4/mmp.c
+++ b/
fs/ext4/mmp.c
@@
-115,7
+115,7
@@
warn_exit:
void __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp,
const char *function, unsigned int line, const char *msg)
{
- __ext4_warning(sb, function, line, msg);
+ __ext4_warning(sb, function, line,
"%s",
msg);
__ext4_warning(sb, function, line,
"MMP failure info: last update time: %llu, last update "
"node: %s, last update device: %s\n",