[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2b9a216c-dd91-d843-4a84-ac7ec78db853@huawei.com>
Date: Wed, 28 Sep 2022 08:58:53 +0100
From: John Garry <john.garry@...wei.com>
To: Jason Yan <yanaijie@...wei.com>, <martin.petersen@...cle.com>,
<jejb@...ux.ibm.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<hare@...e.com>, <hch@....de>, <bvanassche@....org>,
<jinpu.wang@...ud.ionos.com>, <damien.lemoal@...nsource.wdc.com>,
Jack Wang <jinpu.wang@...os.com>
Subject: Re: [PATCH v6 5/8] scsi: hisi_sas: use sas_find_attathed_phy_id()
instead of open coded
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@...wei.com>
> Reviewed-by: Jack Wang<jinpu.wang@...os.com>
> Reviewed-by: Damien Le Moal<damien.lemoal@...nsource.wdc.com>
> ---
Acked-by: John Garry <john.garry@...wei.com>
Powered by blists - more mailing lists