[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <875yt9sm1o.fsf@codeaurora.org>
Date: Wed, 03 Nov 2021 10:03:47 +0200
From: Kalle Valo <kvalo@...eaurora.org>
To: kernel test robot <lkp@...el.com>
Cc: Benjamin Li <benl@...areup.com>, kbuild-all@...ts.01.org,
ath10k@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [kvalo-ath:pending 53/53] drivers/net/wireless/ath/wcn36xx/txrx.c:275:42: error: variable 'sband' set but not used
kernel test robot <lkp@...el.com> writes:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
> head: 1619f62ef8c1766f887eeef36f4d03f01c16b4c9
> commit: 1619f62ef8c1766f887eeef36f4d03f01c16b4c9 [53/53] wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
> config: arc-allyesconfig (attached as .config)
> compiler: arceb-elf-gcc (GCC) 11.2.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=1619f62ef8c1766f887eeef36f4d03f01c16b4c9
> git remote add kvalo-ath https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
> git fetch --no-tags kvalo-ath pending
> git checkout 1619f62ef8c1766f887eeef36f4d03f01c16b4c9
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/net/wireless/ath/wcn36xx/txrx.c: In function 'wcn36xx_rx_skb':
>>> drivers/net/wireless/ath/wcn36xx/txrx.c:275:42: error: variable 'sband' set but not used [-Werror=unused-but-set-variable]
> 275 | struct ieee80211_supported_band *sband;
> | ^~~~~
> cc1: all warnings being treated as errors
This is a warning in the pending branch. I'll drop this version,
Benjamin please fix the warning in v2.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists