[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8735nseadc.fsf@codeaurora.org>
Date: Fri, 19 Nov 2021 11:57:19 +0200
From: Kalle Valo <kvalo@...eaurora.org>
To: kernel test robot <lkp@...el.com>
Cc: Seevalamuthu Mariappan <seevalam@...eaurora.org>,
llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Miles Hu <milehu@...eaurora.org>,
Vasanthakumar Thiagarajan <vthiagar@...eaurora.org>,
Jouni Malinen <jouni@...eaurora.org>,
ath11k@...ts.infradead.org
Subject: Re: drivers/net/wireless/ath/ath11k/mac.c:5408:22: warning: parameter 'changed_flags' set but not used
kernel test robot <lkp@...el.com> writes:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 42eb8fdac2fc5d62392dcfcf0253753e821a97b0
> commit: 689a5e6fff75229ac7c2af7a9c51dc2d3ca1882b ath11k: monitor mode clean up to use separate APIs
> date: 8 weeks ago
> config: x86_64-randconfig-a006-20211118 (attached as .config)
> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a)
> 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/torvalds/linux.git/commit/?id=689a5e6fff75229ac7c2af7a9c51dc2d3ca1882b
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 689a5e6fff75229ac7c2af7a9c51dc2d3ca1882b
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/net/wireless/ath/ath11k/mac.c:5408:22: warning: parameter 'changed_flags' set but not used [-Wunused-but-set-parameter]
> unsigned int changed_flags,
> ^
The commit below should fix this:
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=ath-next&id=624e0a317030
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists