aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-08-27 09:23:01 +0000
committerMartin K. Petersen <[email protected]>2018-08-27 17:17:00 +0000
commitb9eb3b14f1dbf16bf27b6c1ffe6b8c00ec945c9b (patch)
treef57ec77420c75bcde93949359dd01b3e762fb6b5 /arch/powerpc/lib/code-patching.c
parentRevert "scsi: core: avoid host-wide host_busy counter for scsi_mq" (diff)
downloadkernel-b9eb3b14f1dbf16bf27b6c1ffe6b8c00ec945c9b.tar.gz
kernel-b9eb3b14f1dbf16bf27b6c1ffe6b8c00ec945c9b.zip
scsi: aacraid: fix a signedness bug
The problem is that ->reset_state is a u8 but it can be set to -1 or -2 in aac_tmf_callback() and the error handling in aac_eh_target_reset() relies on it to be signed. [mkp: fixed typo] Fixes: 0d643ff3c353 ("scsi: aacraid: use aac_tmf_callback for reset fib") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions