hpsa: set the enclosure identifier to zero
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Apr 2016 09:37:44 +0000 (12:37 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2016 02:00:58 +0000 (22:00 -0400)
commitaa105695732daa6604cb017ceb59a05ef34956bd
tree3f72409f6e76d11420c08f54ec9ccbf52e8f87b7
parentb8ac0cc78b56e798851f1435bc673761d3fb877e
hpsa: set the enclosure identifier to zero

This has only called from show_sas_rphy_enclosure_identifier().  The
caller expects that we set an identifier, otherwise it uses an
uninitialized variable.

[mkp: fixed typo]

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c