From: kernel test robot <lkp@intel.com>
To: Kieran Frewen <kieran.frewen@morsemicro.com>, johannes@sipsolutions.net
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-wireless@vger.kernel.org, quic_jjohnson@quicinc.com,
Kieran Frewen <kieran.frewen@morsemicro.com>
Subject: Re: [PATCH v2 01/12] cfg80211: regulatory: extend regulatory support for S1G
Date: Tue, 30 Aug 2022 17:31:08 +0800 [thread overview]
Message-ID: <202208301755.3ARl5XbS-lkp@intel.com> (raw)
In-Reply-To: <20220830022017.51017-2-kieran.frewen@morsemicro.com>
Hi Kieran,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on wireless/main]
[also build test WARNING on linus/master v6.0-rc3 next-20220830]
[cannot apply to wireless-next/main]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Kieran-Frewen/Additional-Support-for-802-11ah-S1G/20220830-102217
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git main
config: arm-colibri_pxa270_defconfig (https://download.01.org/0day-ci/archive/20220830/202208301755.3ARl5XbS-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/intel-lab-lkp/linux/commit/7c0e7a45e22911c6e1b16ecdce1a4d6022fd66ee
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Kieran-Frewen/Additional-Support-for-802-11ah-S1G/20220830-102217
git checkout 7c0e7a45e22911c6e1b16ecdce1a4d6022fd66ee
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash net/wireless/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> net/wireless/util.c:137:5: warning: no previous prototype for function 'ieee80211_s1g_channel_to_freq_khz' [-Wmissing-prototypes]
u32 ieee80211_s1g_channel_to_freq_khz(int chan)
^
net/wireless/util.c:137:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
u32 ieee80211_s1g_channel_to_freq_khz(int chan)
^
static
1 warning generated.
--
>> net/wireless/reg.c:2597:33: warning: variable 'center_freq_khz' is uninitialized when used here [-Wuninitialized]
reg_rule = freq_reg_info_regd(center_freq_khz, regd, bw);
^~~~~~~~~~~~~~~
net/wireless/reg.c:2586:25: note: initialize the variable 'center_freq_khz' to silence this warning
u32 bw, center_freq_khz;
^
= 0
1 warning generated.
vim +/ieee80211_s1g_channel_to_freq_khz +137 net/wireless/util.c
136
> 137 u32 ieee80211_s1g_channel_to_freq_khz(int chan)
138 {
139 u32 base = ieee80211_s1g_base_freq(chan);
140
141 if (!base)
142 return 0;
143
144 return (base + chan * 500);
145 }
146 EXPORT_SYMBOL(ieee80211_s1g_channel_to_freq_khz);
147
--
0-DAY CI Kernel Test Service
https://01.org/lkp
parent reply other threads:[~2022-08-30 9:32 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20220830022017.51017-2-kieran.frewen@morsemicro.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202208301755.3ARl5XbS-lkp@intel.com \
--to=lkp@intel.com \
--cc=johannes@sipsolutions.net \
--cc=kbuild-all@lists.01.org \
--cc=kieran.frewen@morsemicro.com \
--cc=linux-wireless@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=quic_jjohnson@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox