diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-05-26 13:01:01 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-24 08:56:44 +0200 |
commit | 7715dad8e10c4115ec85471300b452c9194146b5 (patch) | |
tree | a8ffddd742e68548787986aa4a1284828651d082 /drivers/firewire/ohci.h | |
parent | cifs: update the default global_secflags to include "raw" NTLMv2 (diff) | |
download | linux-7715dad8e10c4115ec85471300b452c9194146b5.tar.xz linux-7715dad8e10c4115ec85471300b452c9194146b5.zip |
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 <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'drivers/firewire/ohci.h')
0 files changed, 0 insertions, 0 deletions