Commit 8ecc1bad authored by Toralf Förster's avatar Toralf Förster Committed by David S. Miller

sparc64: fix format string mismatch in arch/sparc/kernel/sysfs.c

found by cppcheck
Signed-off-by: default avatarToralf Förster <toralf.foerster@gmx.de>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5aa4ecfd
...@@ -151,7 +151,7 @@ static ssize_t store_mmustat_enable(struct device *s, ...@@ -151,7 +151,7 @@ static ssize_t store_mmustat_enable(struct device *s,
size_t count) size_t count)
{ {
unsigned long val, err; unsigned long val, err;
int ret = sscanf(buf, "%ld", &val); int ret = sscanf(buf, "%lu", &val);
if (ret != 1) if (ret != 1)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment