scsi_dh_alua: uninitialized variable in alua_check_vpd()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 11 Mar 2016 11:19:03 +0000 (14:19 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:59 +0000 (21:04 -0400)
commit100bcb851b8ce09824215cfc2afd661ae8d454c9
treecf5757a5a7b5302a385d0b8554e0d852b4fb92fb
parenteba5ed3539071b0185084e429f17805bcc7f2419
scsi_dh_alua: uninitialized variable in alua_check_vpd()

The pg_updated variable is support to be set to false at the start but
it is uninitialized.

Fixes: cb0a168cb6b8 ('scsi_dh_alua: update 'access_state' field')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c