diff options
author | Michal Suchanek <[email protected]> | 2017-06-26 16:06:01 +0200 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2017-11-13 10:51:38 +1100 |
commit | dcdc46794b7bb76733d9792cca2f45871d66881f (patch) | |
tree | 47a3ff135729e8fe4fc2ec5f1eeb09528d35db6d /net/unix/sysctl_net_unix.c | |
parent | 6c44741d75a27985a0496cd58b123a58c7177108 (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]"><[email protected]></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