[PATCH V2 3/3] scsi: Convert async scanning to use the completion chain helper
Christoph Hellwig
hch at lst.de
Tue Feb 24 06:39:33 PST 2026
On Tue, Feb 24, 2026 at 01:25:05PM +0100, Maurizio Lombardi wrote:
> diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
> index 7a193cc04e5b..d8a157bc9078 100644
> --- a/drivers/scsi/scsi_priv.h
> +++ b/drivers/scsi/scsi_priv.h
> @@ -132,7 +132,7 @@ extern void scsi_exit_procfs(void);
>
> /* scsi_scan.c */
> void scsi_enable_async_suspend(struct device *dev);
> -extern int scsi_complete_async_scans(void);
> +extern void scsi_complete_async_scans(void);
No need for the extern here.
> +DEFINE_COMPL_CHAIN(scanning_hosts);
This looks like it should be marked static.
More information about the Linux-nvme
mailing list