scsi: scsi_dh_emc: return success in clariion_std_inquiry()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Feb 2017 18:46:37 +0000 (21:46 +0300)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 09:46:03 +0000 (10:46 +0100)
commit4de0e6b506b3ec5ce4d0517dafff4aea24c6ce73
treecac3971f99837f9a723b81a2e9d14a099bd6458b
parent40216270c67f9dcc5d73adbdcc65dd317cd4aa1d
scsi: scsi_dh_emc: return success in clariion_std_inquiry()

commit 4d7d39a18b8b81511f0b893b7d2203790bf8a58b upstream.

We accidentally return an uninitialized variable on success.

Fixes: b6ff1b14cdf4 ("[SCSI] scsi_dh: Update EMC handler")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/scsi/device_handler/scsi_dh_emc.c