Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20200827] [also build test ERROR on v5.9-rc2] [cannot apply to mac80211-next/master mac80211/master wireless-drivers-next/master wireless-drivers/master v5.9-rc2 v5.9-rc1 v5.8] [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] url: https://github.com/0day-ci/linux/commits/Thomas-Pedersen/add-initial-S1G-support/20200828-063630 base: 88abac0b753dfdd85362a26d2da8277cb1e0842b config: riscv-allyesconfig (attached as .config) compiler: riscv64-linux-gcc (GCC) 9.3.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 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/net/wireless/realtek/rtw88/regd.c: In function 'rtw_regd_apply_beaconing_flags': >> drivers/net/wireless/realtek/rtw88/regd.c:279:15: error: too few arguments to function 'freq_reg_info' 279 | reg_rule = freq_reg_info(wiphy, | ^~~~~~~~~~~~~ In file included from include/net/mac80211.h:21, from drivers/net/wireless/realtek/rtw88/main.h:8, from drivers/net/wireless/realtek/rtw88/regd.c:5: include/net/cfg80211.h:5880:34: note: declared here 5880 | const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy, | ^~~~~~~~~~~~~ In file included from include/linux/energy_model.h:10, from include/linux/device.h:16, from include/linux/dma-mapping.h:7, from include/linux/skbuff.h:31, from include/linux/if_ether.h:19, from include/net/mac80211.h:18, from drivers/net/wireless/realtek/rtw88/main.h:8, from drivers/net/wireless/realtek/rtw88/regd.c:5: At top level: include/linux/sched/topology.h:40:3: warning: 'sd_flag_debug' defined but not used [-Wunused-const-variable=] 40 | } sd_flag_debug[] = { | ^~~~~~~~~~~~~ In file included from include/linux/energy_model.h:10, from include/linux/device.h:16, from include/linux/dma-mapping.h:7, from include/linux/skbuff.h:31, from include/linux/if_ether.h:19, from include/net/mac80211.h:18, from drivers/net/wireless/realtek/rtw88/main.h:8, from drivers/net/wireless/realtek/rtw88/regd.c:5: include/linux/sched/topology.h:30:27: warning: 'SD_DEGENERATE_GROUPS_MASK' defined but not used [-Wunused-const-variable=] 30 | static const unsigned int SD_DEGENERATE_GROUPS_MASK = | ^~~~~~~~~~~~~~~~~~~~~~~~~ # https://github.com/0day-ci/linux/commit/cc241e6d10cc9d9bef4ab40d2989677df2623bd9 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Thomas-Pedersen/add-initial-S1G-support/20200828-063630 git checkout cc241e6d10cc9d9bef4ab40d2989677df2623bd9 vim +/freq_reg_info +279 drivers/net/wireless/realtek/rtw88/regd.c e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 261 e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 262 static void rtw_regd_apply_beaconing_flags(struct wiphy *wiphy, e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 263 enum nl80211_reg_initiator initiator) e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 264 { e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 265 enum nl80211_band band; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 266 struct ieee80211_supported_band *sband; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 267 const struct ieee80211_reg_rule *reg_rule; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 268 struct ieee80211_channel *ch; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 269 unsigned int i; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 270 e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 271 for (band = 0; band < NUM_NL80211_BANDS; band++) { e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 272 if (!wiphy->bands[band]) e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 273 continue; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 274 e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 275 sband = wiphy->bands[band]; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 276 for (i = 0; i < sband->n_channels; i++) { e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 277 ch = &sband->channels[i]; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 278 e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 @279 reg_rule = freq_reg_info(wiphy, e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 280 MHZ_TO_KHZ(ch->center_freq)); e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 281 if (IS_ERR(reg_rule)) e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 282 continue; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 283 e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 284 ch->flags &= ~IEEE80211_CHAN_DISABLED; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 285 e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 286 if (!(reg_rule->flags & NL80211_RRF_NO_IR)) e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 287 ch->flags &= ~IEEE80211_CHAN_NO_IR; e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 288 } e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 289 } e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 290 } e3037485c68ec1a Yan-Hsuan Chuang 2019-04-26 291 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip