]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: libsas: Use a bool for sas_deform_port() second argument
authorDamien Le Moal <dlemoal@kernel.org>
Fri, 25 Jul 2025 01:58:18 +0000 (10:58 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Jul 2025 13:03:57 +0000 (09:03 -0400)
commit75fe230b9bed364d7ddca482ff29979d873718fa
treedf9c5f207be5b3cc0dc1df61b38b72ed3fccd0d7
parent704ed03abf6b1c2752a8b16446a5ebf18694fefe
scsi: libsas: Use a bool for sas_deform_port() second argument

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>
Link: https://lore.kernel.org/r/20250725015818.171252-6-dlemoal@kernel.org
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_internal.h
drivers/scsi/libsas/sas_phy.c
drivers/scsi/libsas/sas_port.c