linux/drivers/scsi/device_handler
Dan Carpenter 80927822e8 scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
The "retval" variable needs to be signed for the error handling to work.

Link: https://lore.kernel.org/r/YLjMEAFNxOas1mIp@mwanda
Fixes: 7e26e3ea02 ("scsi: scsi_dh_alua: Check for negative result value")
Reviewed-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-06-07 21:48:16 -04:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
scsi_dh_alua.c scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg() 2021-06-07 21:48:16 -04:00
scsi_dh_emc.c scsi: core: Introduce enum scsi_disposition 2021-04-15 22:44:40 -04:00
scsi_dh_hp_sw.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
scsi_dh_rdac.c scsi: core: Introduce enum scsi_disposition 2021-04-15 22:44:40 -04:00