linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Pedersen <thomas@adapt-ip.com>,
	Johannes Berg <johannes@sipsolutions.net>
Cc: kbuild-all@lists.01.org,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Thomas Pedersen <thomas@adapt-ip.com>
Subject: Re: [PATCH 21/22] mac80211_hwsim: indicate support for S1G
Date: Fri, 28 Aug 2020 14:54:07 +0800	[thread overview]
Message-ID: <202008281416.73rXtIGy%lkp@intel.com> (raw)
In-Reply-To: <20200827223304.16155-22-thomas@adapt-ip.com>

[-- Attachment #1: Type: text/plain, Size: 8192 bytes --]

Hi Thomas,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20200827]
[cannot apply to mac80211-next/master mac80211/master wireless-drivers-next/master wireless-drivers/master v5.9-rc2 v5.9-rc1 v5.8 v5.9-rc2]
[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@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/net/wireless/ath/ath10k/sdio.c:17:
>> drivers/net/wireless/ath/ath10k/core.h:31: warning: "MS" redefined
      31 | #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB)
         | 
   In file included from include/net/mac80211.h:20,
                    from drivers/net/wireless/ath/ath10k/htt.h:16,
                    from drivers/net/wireless/ath/ath10k/core.h:18,
                    from drivers/net/wireless/ath/ath10k/sdio.c:17:
   include/linux/ieee80211.h:2389: note: this is the location of the previous definition
    2389 | #define MS(f, v) (((v) & f) >> f##_SHIFT)
         | 
   In file included from drivers/net/wireless/ath/ath10k/sdio.c:17:
>> drivers/net/wireless/ath/ath10k/core.h:32: warning: "SM" redefined
      32 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK)
         | 
   In file included from include/net/mac80211.h:20,
                    from drivers/net/wireless/ath/ath10k/htt.h:16,
                    from drivers/net/wireless/ath/ath10k/core.h:18,
                    from drivers/net/wireless/ath/ath10k/sdio.c:17:
   include/linux/ieee80211.h:2388: note: this is the location of the previous definition
    2388 | #define SM(f, v) (((v) << f##_SHIFT) & f)
         | 
   include/linux/ieee80211.h:2488:18: warning: 'listen_int_usf' defined but not used [-Wunused-const-variable=]
    2488 | static const int listen_int_usf[] = { 1, 10, 1000, 10000 };
         |                  ^~~~~~~~~~~~~~
   In file included from include/linux/energy_model.h:10,
                    from include/linux/device.h:16,
                    from include/linux/mmc/card.h:10,
                    from drivers/net/wireless/ath/ath10k/sdio.c:9:
   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/mmc/card.h:10,
                    from drivers/net/wireless/ath/ath10k/sdio.c:9:
   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 =
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/net/wireless/ath/ath10k/trace.h:10,
                    from drivers/net/wireless/ath/ath10k/trace.c:9:
>> drivers/net/wireless/ath/ath10k/core.h:31: warning: "MS" redefined
      31 | #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB)
         | 
   In file included from include/net/mac80211.h:20,
                    from drivers/net/wireless/ath/ath10k/htt.h:16,
                    from drivers/net/wireless/ath/ath10k/core.h:18,
                    from drivers/net/wireless/ath/ath10k/trace.h:10,
                    from drivers/net/wireless/ath/ath10k/trace.c:9:
   include/linux/ieee80211.h:2389: note: this is the location of the previous definition
    2389 | #define MS(f, v) (((v) & f) >> f##_SHIFT)
         | 
   In file included from drivers/net/wireless/ath/ath10k/trace.h:10,
                    from drivers/net/wireless/ath/ath10k/trace.c:9:
>> drivers/net/wireless/ath/ath10k/core.h:32: warning: "SM" redefined
      32 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK)
         | 
   In file included from include/net/mac80211.h:20,
                    from drivers/net/wireless/ath/ath10k/htt.h:16,
                    from drivers/net/wireless/ath/ath10k/core.h:18,
                    from drivers/net/wireless/ath/ath10k/trace.h:10,
                    from drivers/net/wireless/ath/ath10k/trace.c:9:
   include/linux/ieee80211.h:2388: note: this is the location of the previous definition
    2388 | #define SM(f, v) (((v) << f##_SHIFT) & f)
         | 
--
   In file included from drivers/net/wireless/ath/ath11k/mhi.c:7:
>> drivers/net/wireless/ath/ath11k/core.h:27: warning: "SM" redefined
      27 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK)
         | 
   In file included from include/net/mac80211.h:20,
                    from drivers/net/wireless/ath/ath11k/wmi.h:9,
                    from drivers/net/wireless/ath/ath11k/core.h:15,
                    from drivers/net/wireless/ath/ath11k/mhi.c:7:
   include/linux/ieee80211.h:2388: note: this is the location of the previous definition
    2388 | #define SM(f, v) (((v) << f##_SHIFT) & f)
         | 
   include/linux/ieee80211.h:2488:18: warning: 'listen_int_usf' defined but not used [-Wunused-const-variable=]
    2488 | static const int listen_int_usf[] = { 1, 10, 1000, 10000 };
         |                  ^~~~~~~~~~~~~~
   In file included from include/linux/energy_model.h:10,
                    from include/linux/device.h:16,
                    from include/linux/pci.h:37,
                    from drivers/net/wireless/ath/ath11k/mhi.c:5:
   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/pci.h:37,
                    from drivers/net/wireless/ath/ath11k/mhi.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 =
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/net/wireless/ath/ath11k/core.c:10:
>> drivers/net/wireless/ath/ath11k/core.h:27: warning: "SM" redefined
      27 | #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK)
         | 
   In file included from include/net/mac80211.h:20,
                    from drivers/net/wireless/ath/ath11k/wmi.h:9,
                    from drivers/net/wireless/ath/ath11k/core.h:15,
                    from drivers/net/wireless/ath/ath11k/core.c:10:
   include/linux/ieee80211.h:2388: note: this is the location of the previous definition
    2388 | #define SM(f, v) (((v) << f##_SHIFT) & f)
         | 

# https://github.com/0day-ci/linux/commit/dc5ef7078b77772b5e2ff5a57cd87144c4c9a583
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 dc5ef7078b77772b5e2ff5a57cd87144c4c9a583
vim +/MS +31 drivers/net/wireless/ath/ath10k/core.h

5e3dd157d7e70f0 Kalle Valo 2013-06-12  30  
5e3dd157d7e70f0 Kalle Valo 2013-06-12 @31  #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB)
5e3dd157d7e70f0 Kalle Valo 2013-06-12 @32  #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK)
5e3dd157d7e70f0 Kalle Valo 2013-06-12  33  #define WO(_f)      ((_f##_OFFSET) >> 2)
5e3dd157d7e70f0 Kalle Valo 2013-06-12  34  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66784 bytes --]

  reply	other threads:[~2020-08-28  7:15 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-27 22:32 [PATCH 00/22] add initial S1G support Thomas Pedersen
2020-08-27 22:32 ` [PATCH 01/22] nl80211: advertise supported channel width in S1G Thomas Pedersen
2020-08-27 22:32 ` [PATCH 02/22] cfg80211: regulatory: pass min. bandwidth to regulatory rule extractor Thomas Pedersen
2020-08-28  1:38   ` kernel test robot
2020-08-28  6:21   ` Thomas Pedersen
2020-08-27 22:32 ` [PATCH 03/22] cfg80211: regulatory: handle S1G channels Thomas Pedersen
2020-08-27 22:32 ` [PATCH 04/22] nl80211: correctly validate S1G beacon head Thomas Pedersen
2020-08-27 22:32 ` [PATCH 05/22] nl80211: support setting S1G channels Thomas Pedersen
2020-08-27 22:32 ` [PATCH 06/22] {cfg,mac}80211: get correct default channel width for S1G Thomas Pedersen
2020-08-27 22:32 ` [PATCH 07/22] mac80211: s1g: choose scanning width based on frequency Thomas Pedersen
2020-08-27 22:32 ` [PATCH 08/22] nl80211: support S1G capabilities Thomas Pedersen
2020-08-27 22:32 ` [PATCH 09/22] mac80211: support S1G STA capabilities Thomas Pedersen
2020-08-27 22:32 ` [PATCH 10/22] cfg80211: convert S1G beacon to scan results Thomas Pedersen
2020-08-27 22:32 ` [PATCH 11/22] cfg80211: parse S1G Operation element for BSS channel Thomas Pedersen
2020-08-27 22:32 ` [PATCH 12/22] mac80211: convert S1G beacon to scan results Thomas Pedersen
2020-08-27 22:32 ` [PATCH 13/22] cfg80211: handle Association Response from S1G STA Thomas Pedersen
2020-08-27 22:32 ` [PATCH 14/22] mac80211: encode listen interval for S1G Thomas Pedersen
2020-08-27 22:32 ` [PATCH 15/22] mac80211: don't calculate duration " Thomas Pedersen
2020-08-27 22:32 ` [PATCH 16/22] mac80211: handle S1G low rates Thomas Pedersen
2020-08-27 22:32 ` [PATCH 17/22] mac80211: avoid rate init for S1G band Thomas Pedersen
2020-08-27 22:33 ` [PATCH 18/22] mac80211: receive and process S1G beacons Thomas Pedersen
2020-08-27 22:33 ` [PATCH 19/22] mac80211: support S1G association Thomas Pedersen
2020-08-27 22:33 ` [PATCH 20/22] nl80211: include frequency offset in survey info Thomas Pedersen
2020-08-27 22:33 ` [PATCH 21/22] mac80211_hwsim: indicate support for S1G Thomas Pedersen
2020-08-28  6:54   ` kernel test robot [this message]
2020-08-28  7:52   ` Kalle Valo
2020-08-31 16:42     ` Thomas Pedersen
2020-08-30  2:28   ` [mac80211_hwsim] dc5ef7078b: BUG:KASAN:stack-out-of-bounds_in__freq_reg_info kernel test robot
2020-08-27 22:33 ` [PATCH 22/22] mac80211_hwsim: fix TSF timestamp write to S1G beacon Thomas Pedersen

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=202008281416.73rXtIGy%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=thomas@adapt-ip.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;
as well as URLs for NNTP newsgroup(s).