Re: [PATCH v2 -next] scsi: ufs: fix build warning without CONFIG_PM

From: Martin K. Petersen
Date: Tue Jun 29 2021 - 00:10:46 EST


On Thu, 17 Jun 2021 11:13:26 +0800, YueHaibing wrote:

> drivers/scsi/ufs/ufshcd.c:9770:12: warning: ‘ufshcd_rpmb_resume’ defined but not used [-Wunused-function]
> static int ufshcd_rpmb_resume(struct device *dev)
> ^~~~~~~~~~~~~~~~~~
> drivers/scsi/ufs/ufshcd.c:9037:12: warning: ‘ufshcd_wl_runtime_resume’ defined but not used [-Wunused-function]
> static int ufshcd_wl_runtime_resume(struct device *dev)
> ^~~~~~~~~~~~~~~~~~~~~~~~
> drivers/scsi/ufs/ufshcd.c:9017:12: warning: ‘ufshcd_wl_runtime_suspend’ defined but not used [-Wunused-function]
> static int ufshcd_wl_runtime_suspend(struct device *dev)
> ^~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]

Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: ufs: fix build warning without CONFIG_PM
https://git.kernel.org/mkp/scsi/c/75d645a61cf9

--
Martin K. Petersen Oracle Linux Engineering