From patchwork Wed Nov 21 06:59:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 1778371 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 389C1E013C for ; Wed, 21 Nov 2012 06:59:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778Ab2KUG7n (ORCPT ); Wed, 21 Nov 2012 01:59:43 -0500 Received: from mga03.intel.com ([143.182.124.21]:47535 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752729Ab2KUG7m (ORCPT ); Wed, 21 Nov 2012 01:59:42 -0500 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 20 Nov 2012 22:59:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.83,291,1352102400"; d="diff'?scan'208";a="220512950" Received: from bee.sh.intel.com (HELO localhost) ([10.239.97.14]) by azsmga001.ch.intel.com with ESMTP; 20 Nov 2012 22:59:39 -0800 Received: from [192.168.1.61] (helo=snb.lkp.intel.com) by localhost with smtp (Exim 4.80) (envelope-from ) id 1Tb4HE-000PU0-Id; Wed, 21 Nov 2012 14:59:16 +0800 Date: Wed, 21 Nov 2012 14:59:19 +0800 From: kbuild test robot To: Seth Forshee Cc: linux-wireless@vger.kernel.org, "John W. Linville" Subject: [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? Message-ID: <50ac7bc7.tSErItiXQxTyHiGi%fengguang.wu@intel.com> User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.61 X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on localhost); SAEximRunCond expanded to false Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 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 = - */