* [PATCH] scsi: ufs: add missing header dependencies for tc-dwc-g210
@ 2016-08-29 10:19 Baoyou Xie
2016-09-02 11:08 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Baoyou Xie @ 2016-08-29 10:19 UTC (permalink / raw)
To: Joao.Pinto, vinholikatti, jejb, martin.petersen
Cc: linux-scsi, linux-kernel, arnd, baoyou.xie, xie.baoyou
We get 2 warnings when build kernel with W=1:
drivers/scsi/ufs/tc-dwc-g210.c:261:5: warning: no previous prototype for 'tc_dwc_g210_config_40_bit' [-Wmissing-prototypes]
drivers/scsi/ufs/tc-dwc-g210.c:293:5: warning: no previous prototype for 'tc_dwc_g210_config_20_bit' [-Wmissing-prototypes]
In fact, these functions are declared in ufs/tc-dwc-g210.h, so this patch
add missing header dependencies
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
---
drivers/scsi/ufs/tc-dwc-g210.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/ufs/tc-dwc-g210.c b/drivers/scsi/ufs/tc-dwc-g210.c
index 70db6d9..dc03e47 100644
--- a/drivers/scsi/ufs/tc-dwc-g210.c
+++ b/drivers/scsi/ufs/tc-dwc-g210.c
@@ -15,6 +15,7 @@
#include "ufshcd-dwc.h"
#include "ufshci-dwc.h"
+#include "tc-dwc-g210.h"
/**
* tc_dwc_g210_setup_40bit_rmmi()
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: ufs: add missing header dependencies for tc-dwc-g210
2016-08-29 10:19 [PATCH] scsi: ufs: add missing header dependencies for tc-dwc-g210 Baoyou Xie
@ 2016-09-02 11:08 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2016-09-02 11:08 UTC (permalink / raw)
To: Baoyou Xie
Cc: Joao.Pinto, vinholikatti, jejb, martin.petersen, linux-scsi,
linux-kernel, arnd, xie.baoyou
>>>>> "Baoyou" == Baoyou Xie <baoyou.xie@linaro.org> writes:
Baoyou> We get 2 warnings when build kernel with W=1:
Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:261:5: warning: no previous
Baoyou> prototype for 'tc_dwc_g210_config_40_bit' [-Wmissing-prototypes]
Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:293:5: warning: no previous
Baoyou> prototype for 'tc_dwc_g210_config_20_bit' [-Wmissing-prototypes]
Baoyou> In fact, these functions are declared in ufs/tc-dwc-g210.h, so
Baoyou> this patch add missing header dependencies
Applied to 4.9/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-02 11:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29 10:19 [PATCH] scsi: ufs: add missing header dependencies for tc-dwc-g210 Baoyou Xie
2016-09-02 11:08 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).