aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorChengguang Xu <[email protected]>2022-05-29 23:34:53 +0800
committerMartin K. Petersen <[email protected]>2022-06-07 22:05:14 -0400
commitd64c491911322af1dcada98e5b9ee0d87e8c8fee (patch)
tree16113f6785ed63b6cfb36314587577c1fba83a66 /lib/test-string_helpers.c
parent120f1d95efb1cdb6fe023c84e38ba06d8f78cd03 (diff)
scsi: ipr: Fix missing/incorrect resource cleanup in error case
Fix missing resource cleanup (when '(--i) == 0') for error case in ipr_alloc_mem() and skip incorrect resource cleanup (when '(--i) == 0') for error case in ipr_request_other_msi_irqs() because variable i started from 1. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Dan Carpenter <[email protected]> Acked-by: Brian King <[email protected]> Signed-off-by: Chengguang Xu <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions