linux/drivers/scsi/device_handler
Dan Carpenter a4bd852031 scsi_dh_alua: uninitialized variable in alua_rtpg()
It's possible to use "err" without initializing it.  If it happens to be
a 2 which is SCSI_DH_RETRY then that could cause a bug.  Bart Van Assche
pointed out that we should probably re-initialize it for every iteration
through the retry loop.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <jejb@linux.vnet.ibm.com>
2016-04-30 09:24:50 -07:00
..
Kconfig scsi_dh: force modular build if SCSI is a module 2016-02-23 21:27:02 -05:00
Makefile scsi_dh: integrate into the core SCSI code 2015-08-28 13:14:56 -07:00
scsi_dh_alua.c scsi_dh_alua: uninitialized variable in alua_rtpg() 2016-04-30 09:24:50 -07:00
scsi_dh_emc.c scsi_dh_emc: update 'access_state' field 2016-03-05 17:20:33 -05:00
scsi_dh_hp_sw.c scsi_dh: kill struct scsi_dh_data 2015-08-28 13:14:57 -07:00
scsi_dh_rdac.c scsi_dh_rdac: update 'access_state' field 2016-03-05 17:18:28 -05:00