Re: [PATCH v4 5/5] scsi: libsas: Use a bool for sas_deform_port() second argument

Jason Yan
2025-07-25T06:24:15Z

在 2025/7/25 9:58, Damien Le Moal 写道:
> Change the type of the "gone" argument of sas_deform_port() from int to
> bool. Simliarly, to be consistent, do the same change to the function
> sas_unregister_domain_devices().
>
> No functional changes.
>
> Signed-off-by: Damien Le Moal<dlemoal@kernel.org>
> Reviewed-by: Johannes Thumshirn<johannes.thumshirn@wdc.com>
> Reviewed-by: John Garry<john.g.garry@oracle.com>
> ---
> drivers/scsi/libsas/sas_discover.c | 2 +-
> drivers/scsi/libsas/sas_internal.h | 4 ++--
> drivers/scsi/libsas/sas_phy.c | 6 +++---
> drivers/scsi/libsas/sas_port.c | 13 ++++++-------
> 4 files changed, 12 insertions(+), 13 deletions(-)

Reviewed-by: Jason Yan <yanaijie@huawei.com>