diff options
| author | 2020-10-27 18:38:39 +0530 | |
|---|---|---|
| committer | 2020-11-04 18:42:24 -0500 | |
| commit | c71ccf93c00c0cef062c2371e9a614526fee9adb (patch) | |
| tree | d990cdb5c035812458528a2876809e46d92ae70d /scripts/cleanpatch | |
| parent | scsi: mpt3sas: Get device objects using sas_address & portID (diff) | |
scsi: mpt3sas: Rename transport_del_phy_from_an_existing_port()
Renamed _transport_add_phy_to_an_existing_port() to
mpt3sas_transport_add_phy_to_an_existing_port() and
_transport_del_phy_from_an_existing_port() to
mpt3sas_transport_del_phy_from_an_existing_port() as the driver needs to
call these functions from outside mpt3sas_transport.c file.
Added extra function argument 'port' of type struct hba_port to above
functions and check for portID before adding/removing the phy from the
_sas_port object. I.e. add/remove the phy from _sas_port object only if
_sas_port's port object and phy's port object are the same.
Link: https://lore.kernel.org/r/20201027130847.9962-7-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 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
