diff options
author | Sreekanth Reddy <sreekanth.reddy@broadcom.com> | 2020-10-27 14:08:35 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-11-05 00:42:23 +0100 |
commit | e238e71b6cb2b7b06224b31eb31892d1acb75f1d (patch) | |
tree | 3abe79fbd1f380780ba6f85d3a9f85ddabca15b6 /drivers/scsi/lpfc/lpfc_bsg.c | |
parent | scsi: mpt3sas: Define hba_port structure (diff) | |
download | linux-e238e71b6cb2b7b06224b31eb31892d1acb75f1d.tar.xz linux-e238e71b6cb2b7b06224b31eb31892d1acb75f1d.zip |
scsi: mpt3sas: Allocate memory for hba_port objects
Allocate hba_port object whenever a new HBA's wide/narrow port is
identified while processing the SASIOUnitPage0's phy data and add this
object to port_table_list. Deallocate these objects during driver unload.
Link: https://lore.kernel.org/r/20201027130847.9962-3-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_bsg.c')
0 files changed, 0 insertions, 0 deletions