aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMichal Suchanek <[email protected]>2017-06-26 16:06:01 +0200
committerMichael Ellerman <[email protected]>2017-11-13 10:51:38 +1100
commitdcdc46794b7bb76733d9792cca2f45871d66881f (patch)
tree47a3ff135729e8fe4fc2ec5f1eeb09528d35db6d /net/unix/sysctl_net_unix.c
parent6c44741d75a27985a0496cd58b123a58c7177108 (diff)
powerpc/fadump: use kstrtoint to handle sysfs store
Currently sysfs store handlers in fadump use if buf[0] == 'char'. This means input "100foo" is interpreted as '1' and "01" as '0'. Change to kstrtoint so leading zeroes and the like is handled in expected way. Signed-off-by: Michal Suchanek <[email protected]> Acked-by: Hari Bathini <[email protected]> Signed-off-by: Michal Suchanek <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a></pre> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions