diff options
author | Colin Ian King <[email protected]> | 2017-02-07 11:51:29 +0000 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-02-07 17:22:28 -0500 |
commit | 76291469772fb932523c2e0003848934cd29e7cb (patch) | |
tree | c3011e6ff5a164f1b9943597144920caa057a6ff /lib/netdev-notifier-error-inject.c | |
parent | a76037ff3479ad333a2505061915f7a21e7f3fb6 (diff) |
scsi: aacraid: rcode is unsigned and should be signed int
aac_fib_send can return -ve error returns and hence rcode should be
signed. Currently the rcode >= 0 check is always true and -ve errors are
not being checked.
Thanks to Dan Carpenter for spotting my original broken fix to this
issue.
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Raghava Aditya Renukunta <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions