* [wireless-next:master 196/214] drivers/net/wireless/brcm80211/brcmsmac/main.c:308:10: sparse: symbol 'wlc_prio2prec_map' was not declared. Should it be static?
@ 2012-11-21 6:59 kbuild test robot
2012-11-21 14:12 ` Seth Forshee
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2012-11-21 6:59 UTC (permalink / raw)
To: Seth Forshee; +Cc: linux-wireless, John W. Linville
[-- Attachment #1: Type: text/plain, Size: 656 bytes --]
tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master
head: e2ff0498409af6f2023f91aba07b281e5e87ee15
commit: e041f65d5f00011049c7d6af0e31ce69ce9e2655 [196/214] brcmsmac: Remove internal tx queue
sparse warnings:
+ drivers/net/wireless/brcm80211/brcmsmac/main.c:308:10: sparse: symbol 'wlc_prio2prec_map' was not declared. Should it be static?
drivers/net/wireless/brcm80211/brcmsmac/main.c:6500:43: also defined here
Please consider folding the attached diff :-)
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
[-- Attachment #2: make-it-static-e041f65.diff --]
[-- Type: text/x-diff, Size: 556 bytes --]
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c
index 5710dc0..1984b96 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
@@ -305,7 +305,7 @@ static const u8 wme_ac2fifo[] = {
};
/* 802.1D Priority to precedence queue mapping */
-const u8 wlc_prio2prec_map[] = {
+static const u8 wlc_prio2prec_map[] = {
_BRCMS_PREC_BE, /* 0 BE - Best-effort */
_BRCMS_PREC_BK, /* 1 BK - Background */
_BRCMS_PREC_NONE, /* 2 None = - */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [wireless-next:master 196/214] drivers/net/wireless/brcm80211/brcmsmac/main.c:308:10: sparse: symbol 'wlc_prio2prec_map' was not declared. Should it be static?
2012-11-21 6:59 [wireless-next:master 196/214] drivers/net/wireless/brcm80211/brcmsmac/main.c:308:10: sparse: symbol 'wlc_prio2prec_map' was not declared. Should it be static? kbuild test robot
@ 2012-11-21 14:12 ` Seth Forshee
0 siblings, 0 replies; 2+ messages in thread
From: Seth Forshee @ 2012-11-21 14:12 UTC (permalink / raw)
To: kbuild test robot; +Cc: linux-wireless, John W. Linville
On Wed, Nov 21, 2012 at 02:59:19PM +0800, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master
> head: e2ff0498409af6f2023f91aba07b281e5e87ee15
> commit: e041f65d5f00011049c7d6af0e31ce69ce9e2655 [196/214] brcmsmac: Remove internal tx queue
>
>
> sparse warnings:
>
> + drivers/net/wireless/brcm80211/brcmsmac/main.c:308:10: sparse: symbol 'wlc_prio2prec_map' was not declared. Should it be static?
> drivers/net/wireless/brcm80211/brcmsmac/main.c:6500:43: also defined here
>
> Please consider folding the attached diff :-)
Actually this just isn't used anymore. I'll send a patch to remove it
next week when I'm back from holiday.
Seth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-21 14:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 6:59 [wireless-next:master 196/214] drivers/net/wireless/brcm80211/brcmsmac/main.c:308:10: sparse: symbol 'wlc_prio2prec_map' was not declared. Should it be static? kbuild test robot
2012-11-21 14:12 ` Seth Forshee
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.