From: Lee Jones Date: Wed, 3 Mar 2021 14:46:12 +0000 (+0000) Subject: scsi: pm8001: Provide function name 'pm8001_I_T_nexus_reset()' in header X-Git-Tag: io_uring-5.13-2021-05-07~18^2~309 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=62690c056ac086b2cead9d29a15f5c1bae811aab;p=linux-block.git scsi: pm8001: Provide function name 'pm8001_I_T_nexus_reset()' in header Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm8001_sas.c:989: warning: expecting prototype for and hard reset for(). Prototype was for pm8001_I_T_nexus_reset() instead Link: https://lore.kernel.org/r/20210303144631.3175331-12-lee.jones@linaro.org Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Acked-by: Jack Wang Signed-off-by: Lee Jones Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c index 0cbd25a2ee9f..6f4753d91418 100644 --- a/drivers/scsi/pm8001/pm8001_sas.c +++ b/drivers/scsi/pm8001/pm8001_sas.c @@ -981,6 +981,7 @@ void pm8001_open_reject_retry( } /** + * pm8001_I_T_nexus_reset() * Standard mandates link reset for ATA (type 0) and hard reset for * SSP (type 1) , only for RECOVERY * @dev: the device structure for the device to reset.