diff options
author | Jeff Layton <[email protected]> | 2013-05-26 07:01:01 -0400 |
---|---|---|
committer | Steve French <[email protected]> | 2013-06-24 01:56:44 -0500 |
commit | 7715dad8e10c4115ec85471300b452c9194146b5 (patch) | |
tree | a8ffddd742e68548787986aa4a1284828651d082 /lib/mpi/mpi-bit.c | |
parent | 896a8fc25bd31a81afb35e65468484f34f1c15d6 (diff) |
cifs: clean up the SecurityFlags write handler
The SecurityFlags handler uses an obsolete simple_strtoul() call, and
doesn't really handle the bounds checking well. Fix it to use
kstrtouint() instead. Clean up the error messages as well and fix a
bogus check for an unsigned int to be less than 0.
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions