Re: [PATCH v2] scsi: libsas, lldds: Use dev_is_expander()
From: Martin K. Petersen
Date: Tue Jun 18 2019 - 21:03:28 EST
John,
> 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.
Applied to 5.3/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering