diff options
author | Joe Handzik <[email protected]> | 2014-05-21 11:16:01 -0500 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-05-28 12:25:12 +0200 |
commit | 2bbf5c7f9fe8fea2b2ccf02b9b5d2cbd997f2de1 (patch) | |
tree | 31b49aa049a683b890d84a9608e9126b9766244e /net/unix/af_unix.c | |
parent | 757f5bad2b748dca6f82e660875320d156485ea5 (diff) |
hpsa: fix bad comparison of signed with unsigned in hpsa_update_scsi_devices
rescan_hba_mode was defined as a u8 so could never be less than zero:
rescan_hba_mode = hpsa_hba_mode_enabled(h);
if (rescan_hba_mode < 0)
goto out;
Signed-off-by: Joe Handzik <[email protected]>
Signed-off-by: Stephen M. Cameron <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions