scsi: hpsa: correct enclosure sas address
authorDon Brace <don.brace@microsemi.com>
Tue, 3 Jul 2018 22:34:48 +0000 (17:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:07:06 +0000 (13:07 +0200)
commit7f545182d9ed075cd4c9248fc62d2c0de681e125
tree0b2c24d6ab80e275ecf0594740a6450ea3d60466
parentab85798979f1f470d64227628ed581fa0d341bfe
scsi: hpsa: correct enclosure sas address

[ Upstream commit 01d0e789a14aa735ddcfddd468ef06d4f917e06d ]

The original complaint was the lsscsi -t showed the same SAS address of the
two enclosures (SEP devices). In fact the SAS address was being set to the
Enclosure Logical Identifier (ELI).

Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h