Messages in this thread | | | Subject | Re: [PATCH] scsi: ufs: add missing declaration in ufshcd.h | From | "Martin K. Petersen" <> | Date | Fri, 02 Sep 2016 06:58:55 -0400 |
| |
>>>>> "Baoyou" == Baoyou Xie <baoyou.xie@linaro.org> writes:
Baoyou> We get 1 warning about global functions without a declaration in Baoyou> the scsi ufshcd driver when building with W=1: Baoyou> drivers/scsi/ufs/ufshcd.c:1991:5: warning: no previous prototype Baoyou> for 'ufshcd_query_descriptor_retry' [-Wmissing-prototypes]
Baoyou> in fact, this function is implemented in ufshcd.c and exported Baoyou> but need to be declared in header file.
ufshcd_query_descriptor_retry doesn't appear to be used outside of ufshcd.c.
-- Martin K. Petersen Oracle Linux Engineering
| |