]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: mpt3sas: Fix removal and addition of vSES device during host reset
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Tue, 10 Oct 2017 13:11:17 +0000 (18:41 +0530)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 27 Oct 2017 21:30:54 +0000 (14:30 -0700)
commitf8fa28bbdc019e029504bbb08ced8439c12ce340
treec084bba3285c27093a421b88215e55a73aa51fa2
parent92fcc75c935202ee4e090560643d2c0944a5f1ea
scsi: mpt3sas: Fix removal and addition of vSES device during host reset

For Dev Handles whose value is less than HBA's phys count number, driver
would return HBA's SAS address value. As a result, for a Virtual SES
device the driver was returning the HBA's SAS address. Updated the
driver to return Virtual SES' SAS address.

[mkp: clarified commit message]

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@broadcom.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Orabug: 26894858
(cherry picked from commit 758f8139e9a779de76fed2b48dc492bfb6612684)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c