aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/clk/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2026-05-11 12:53:17 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2026-05-14 22:02:52 -0400
commit6ea68a8dc7d2711504d944811981a5304af7d7a9 (patch)
treec27e9eab95b6f7e2c8414681d977c79da8d38504 /include/linux/clk/ssh:/git@git.zx2c4.com
parentMerge branch '7.1/scsi-queue' into 7.1/scsi-fixes (diff)
scsi: sd: Fix return code handling in sd_spinup_disk()
As found by smatch-ci, scsi_execute_cmd() can return negative or positve values so we should use a int instead of unsigned int. Fixes: b4d0c33a32c3 ("scsi: sd: Fix sshdr use in sd_spinup_disk") Reported-by: Dan Carpenter <error27@gmail.com> Closes: https://lore.kernel.org/linux-scsi/agFbI7E6JQwd3wGW@stanley.mountain/T/#u Signed-off-by: Mike Christie <michael.christie@oracle.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/20260511175317.114007-1-michael.christie@oracle.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/clk/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions