[PATCH v4] brcmfmac: add missing header dependencies

Subsystems: broadcom brcm80211 ieee802.11 wireless drivers, the rest

STALE3635d REVIEWED: 5 (5M)

1 review trailer.

4 messages, 3 authors, 2016-09-03 · open the first message on its own page

[PATCH v4] brcmfmac: add missing header dependencies

From: Baoyou Xie <hidden>
Date: 2016-08-29 12:39:57

We get 1 warning when build kernel with W=1:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:23:6: warning: no previous prototype for '__brcmf_err' [-Wmissing-prototypes]

In fact, this function is declared in brcmfmac/debug.h, so this patch
add missing header dependencies.

Signed-off-by: Baoyou Xie <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
index a10f35c..fe67559 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
@@ -19,6 +19,7 @@
 #ifndef __CHECKER__
 #define CREATE_TRACE_POINTS
 #include "tracepoint.h"
+#include "debug.h"
 
 void __brcmf_err(const char *func, const char *fmt, ...)
 {
-- 
2.7.4

Re: [PATCH v4] brcmfmac: add missing header dependencies

From: Rafał Miłecki <zajec5@gmail.com>
Date: 2016-08-29 15:32:25

On 29 August 2016 at 14:39, Baoyou Xie [off-list ref] wrote:
We get 1 warning when build kernel with W=1:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:23:6: warning: no previous prototype for '__brcmf_err' [-Wmissing-prototypes]
building? I'm not native English, but I think so.

In fact, this function is declared in brcmfmac/debug.h, so this patch
add missing header dependencies.
adds

Signed-off-by: Baoyou Xie <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Please don't resend patches just to add tags like that. This only
increases a noise and patchwork handles this just fine, see:
https://patchwork.kernel.org/patch/9303285/
https://patchwork.kernel.org/patch/9303285/mbox/

Re: [PATCH v4] brcmfmac: add missing header dependencies

From: Rafał Miłecki <zajec5@gmail.com>
Date: 2016-08-29 16:40:15

On 29 August 2016 at 17:42, Baoyou Xie [off-list ref] wrote:
On 29 August 2016 at 23:31, Rafał Miłecki [off-list ref] wrote:
quoted
On 29 August 2016 at 14:39, Baoyou Xie [off-list ref] wrote:
quoted
We get 1 warning when build kernel with W=1:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:23:6:
warning: no previous prototype for '__brcmf_err' [-Wmissing-prototypes]
building? I'm not native English, but I think so.

quoted
In fact, this function is declared in brcmfmac/debug.h, so this patch
add missing header dependencies.
adds

quoted
Signed-off-by: Baoyou Xie <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Please don't resend patches just to add tags like that. This only
increases a noise and patchwork handles this just fine, see:
https://patchwork.kernel.org/patch/9303285/
https://patchwork.kernel.org/patch/9303285/mbox/

it modifies a typo biuld/build.
Please send your replies to all, not privately.

OK, so you should also include a changelog in the comments part of diff, e.g.:
V4: Fix typo in "biuld"

Re: [v4] brcmfmac: add missing header dependencies

From: Kalle Valo <hidden>
Date: 2016-09-03 10:11:13

Baoyou Xie [off-list ref] wrote:
We get 1 warning when building kernel with W=1:

drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:23:6: warning: no previous prototype for '__brcmf_err' [-Wmissing-prototypes]

In fact, this function is declared in brcmfmac/debug.h, so this patch
adds missing header dependencies.

Signed-off-by: Baoyou Xie <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Thanks, 1 patch applied to wireless-drivers-next.git:

8af92af3f2d5 brcmfmac: add missing header dependencies

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9303939/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help