aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKaran Tilak Kumar <[email protected]>2023-07-27 12:39:19 -0700
committerMartin K. Petersen <[email protected]>2023-07-31 14:29:21 -0400
commit5a43b07a87835660f91d88a4db11abfea8c523b7 (patch)
tree3abd6498b00cf1613b67048d53c34454cd6b7d18 /lib/test_fortify/write_overflow-strncpy-src.c
parent175544ad48cbf56affeef2a679c6a4d4fb1e2881 (diff)
scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
fnic_clean_pending_aborts() was returning a non-zero value irrespective of failure or success. This caused the caller of this function to assume that the device reset had failed, even though it would succeed in most cases. As a consequence, a successful device reset would escalate to host reset. Reviewed-by: Sesidhar Baddela <[email protected]> Tested-by: Karan Tilak Kumar <[email protected]> Signed-off-by: Karan Tilak Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions