Messages in this thread | | | Subject | Re: [PATCH] scsi: libsas, lldds: Use dev_is_expander() | From | Jason Yan <> | Date | Thu, 6 Jun 2019 09:34:56 +0800 |
| |
On 2019/6/6 0:12, John Garry wrote: > Many times in libsas, and in LLDDs which use libsas, the check for an > expander device is re-implemented or open coded. > > Use dev_is_expander() instead. We rename this from > sas_dev_type_is_expander() to not spill so many lines in referencing. > > Signed-off-by: John Garry<john.garry@huawei.com>
Cannot agree more,
Reviewed-by: Jason Yan <yanaijie@huawei.com>
| |