aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-02-07 11:51:29 +0000
committerMartin K. Petersen <[email protected]>2017-02-07 17:22:28 -0500
commit76291469772fb932523c2e0003848934cd29e7cb (patch)
treec3011e6ff5a164f1b9943597144920caa057a6ff /lib/netdev-notifier-error-inject.c
parenta76037ff3479ad333a2505061915f7a21e7f3fb6 (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