Messages in this thread | | | Date | Wed, 28 Sep 2022 08:58:53 +0100 | Subject | Re: [PATCH v6 5/8] scsi: hisi_sas: use sas_find_attathed_phy_id() instead of open coded | From | John Garry <> |
| |
On 28/09/2022 08:01, Jason Yan wrote: > The attached phy finding is open coded. Now we can replace it with > sas_find_attached_phy_id(). To keep consistent, the return value of > hisi_sas_dev_found() is also changed to -ENODEV after calling > sas_find_attathed_phy_id() failed. > > Signed-off-by: Jason Yan<yanaijie@huawei.com> > Reviewed-by: Jack Wang<jinpu.wang@ionos.com> > Reviewed-by: Damien Le Moal<damien.lemoal@opensource.wdc.com> > ---
Acked-by: John Garry <john.garry@huawei.com>
| |