All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Tree Davies <tdavies@darkphysics.net>,
	gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com,
	anjan@momi.ca
Cc: oe-kbuild-all@lists.linux.dev, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Tree Davies <tdavies@darkphysics.net>
Subject: Re: [PATCH 11/11] Staging: rtl8192e: Implement BIT macro for bit shift ops
Date: Mon, 11 Mar 2024 14:39:24 +0800	[thread overview]
Message-ID: <202403111451.mwNy2vqG-lkp@intel.com> (raw)
In-Reply-To: <20240310235552.4217-12-tdavies@darkphysics.net>

Hi Tree,

kernel test robot noticed the following build warnings:

[auto build test WARNING on staging/staging-testing]

url:    https://github.com/intel-lab-lkp/linux/commits/Tree-Davies/Staging-rtl8192e-Rename-variable-ReturnPoint/20240311-075949
base:   staging/staging-testing
patch link:    https://lore.kernel.org/r/20240310235552.4217-12-tdavies%40darkphysics.net
patch subject: [PATCH 11/11] Staging: rtl8192e: Implement BIT macro for bit shift ops
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20240311/202403111451.mwNy2vqG-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240311/202403111451.mwNy2vqG-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403111451.mwNy2vqG-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/staging/rtl8192e/rtllib_module.c:35:
>> drivers/staging/rtl8192e/rtllib.h:422: warning: "WLAN_CAPABILITY_ESS" redefined
     422 | #define WLAN_CAPABILITY_ESS BIT(0)
         | 
   In file included from include/net/cfg80211.h:23,
                    from drivers/staging/rtl8192e/rtllib.h:40:
   include/linux/ieee80211.h:3218: note: this is the location of the previous definition
    3218 | #define WLAN_CAPABILITY_ESS             (1<<0)
         | 
>> drivers/staging/rtl8192e/rtllib.h:423: warning: "WLAN_CAPABILITY_IBSS" redefined
     423 | #define WLAN_CAPABILITY_IBSS BIT(1)
         | 
   include/linux/ieee80211.h:3219: note: this is the location of the previous definition
    3219 | #define WLAN_CAPABILITY_IBSS            (1<<1)
         | 
>> drivers/staging/rtl8192e/rtllib.h:424: warning: "WLAN_CAPABILITY_PRIVACY" redefined
     424 | #define WLAN_CAPABILITY_PRIVACY BIT(4)
         | 
   include/linux/ieee80211.h:3231: note: this is the location of the previous definition
    3231 | #define WLAN_CAPABILITY_PRIVACY         (1<<4)
         | 
>> drivers/staging/rtl8192e/rtllib.h:425: warning: "WLAN_CAPABILITY_SHORT_PREAMBLE" redefined
     425 | #define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
         | 
   include/linux/ieee80211.h:3232: note: this is the location of the previous definition
    3232 | #define WLAN_CAPABILITY_SHORT_PREAMBLE  (1<<5)
         | 
>> drivers/staging/rtl8192e/rtllib.h:426: warning: "WLAN_CAPABILITY_SHORT_SLOT_TIME" redefined
     426 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME BIT(10)
         | 
   include/linux/ieee80211.h:3239: note: this is the location of the previous definition
    3239 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
         | 
--
   In file included from drivers/staging/rtl8192e/rtllib_rx.c:36:
>> drivers/staging/rtl8192e/rtllib.h:422: warning: "WLAN_CAPABILITY_ESS" redefined
     422 | #define WLAN_CAPABILITY_ESS BIT(0)
         | 
   In file included from include/net/cfg80211.h:23,
                    from drivers/staging/rtl8192e/rtllib.h:40:
   include/linux/ieee80211.h:3218: note: this is the location of the previous definition
    3218 | #define WLAN_CAPABILITY_ESS             (1<<0)
         | 
>> drivers/staging/rtl8192e/rtllib.h:423: warning: "WLAN_CAPABILITY_IBSS" redefined
     423 | #define WLAN_CAPABILITY_IBSS BIT(1)
         | 
   include/linux/ieee80211.h:3219: note: this is the location of the previous definition
    3219 | #define WLAN_CAPABILITY_IBSS            (1<<1)
         | 
>> drivers/staging/rtl8192e/rtllib.h:424: warning: "WLAN_CAPABILITY_PRIVACY" redefined
     424 | #define WLAN_CAPABILITY_PRIVACY BIT(4)
         | 
   include/linux/ieee80211.h:3231: note: this is the location of the previous definition
    3231 | #define WLAN_CAPABILITY_PRIVACY         (1<<4)
         | 
>> drivers/staging/rtl8192e/rtllib.h:425: warning: "WLAN_CAPABILITY_SHORT_PREAMBLE" redefined
     425 | #define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
         | 
   include/linux/ieee80211.h:3232: note: this is the location of the previous definition
    3232 | #define WLAN_CAPABILITY_SHORT_PREAMBLE  (1<<5)
         | 
>> drivers/staging/rtl8192e/rtllib.h:426: warning: "WLAN_CAPABILITY_SHORT_SLOT_TIME" redefined
     426 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME BIT(10)
         | 
   include/linux/ieee80211.h:3239: note: this is the location of the previous definition
    3239 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
         | 
   during RTL pass: mach
   drivers/staging/rtl8192e/rtllib_rx.c: In function 'rtllib_rx_decrypt':
   drivers/staging/rtl8192e/rtllib_rx.c:1141:1: internal compiler error: in arc_ifcvt, at config/arc/arc.cc:9703
    1141 | }
         | ^
   0x5b78c1 arc_ifcvt
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:9703
   0xe431b4 arc_reorg
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:8552
   0xaed299 execute
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/reorg.cc:3927
   Please submit a full bug report, with preprocessed source (by using -freport-bug).
   Please include the complete backtrace with any bug report.
   See <https://gcc.gnu.org/bugs/> for instructions.
--
   In file included from drivers/staging/rtl8192e/rtl819x_BAProc.c:10:
>> drivers/staging/rtl8192e/rtllib.h:422: warning: "WLAN_CAPABILITY_ESS" redefined
     422 | #define WLAN_CAPABILITY_ESS BIT(0)
         | 
   In file included from include/net/cfg80211.h:23,
                    from drivers/staging/rtl8192e/rtllib.h:40:
   include/linux/ieee80211.h:3218: note: this is the location of the previous definition
    3218 | #define WLAN_CAPABILITY_ESS             (1<<0)
         | 
>> drivers/staging/rtl8192e/rtllib.h:423: warning: "WLAN_CAPABILITY_IBSS" redefined
     423 | #define WLAN_CAPABILITY_IBSS BIT(1)
         | 
   include/linux/ieee80211.h:3219: note: this is the location of the previous definition
    3219 | #define WLAN_CAPABILITY_IBSS            (1<<1)
         | 
>> drivers/staging/rtl8192e/rtllib.h:424: warning: "WLAN_CAPABILITY_PRIVACY" redefined
     424 | #define WLAN_CAPABILITY_PRIVACY BIT(4)
         | 
   include/linux/ieee80211.h:3231: note: this is the location of the previous definition
    3231 | #define WLAN_CAPABILITY_PRIVACY         (1<<4)
         | 
>> drivers/staging/rtl8192e/rtllib.h:425: warning: "WLAN_CAPABILITY_SHORT_PREAMBLE" redefined
     425 | #define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
         | 
   include/linux/ieee80211.h:3232: note: this is the location of the previous definition
    3232 | #define WLAN_CAPABILITY_SHORT_PREAMBLE  (1<<5)
         | 
>> drivers/staging/rtl8192e/rtllib.h:426: warning: "WLAN_CAPABILITY_SHORT_SLOT_TIME" redefined
     426 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME BIT(10)
         | 
   include/linux/ieee80211.h:3239: note: this is the location of the previous definition
    3239 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
         | 
   during RTL pass: mach
   drivers/staging/rtl8192e/rtl819x_BAProc.c: In function 'rtllib_send_DELBA':
   drivers/staging/rtl8192e/rtl819x_BAProc.c:212:1: internal compiler error: in arc_ifcvt, at config/arc/arc.cc:9703
     212 | }
         | ^
   0x5b78c1 arc_ifcvt
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:9703
   0xe431b4 arc_reorg
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:8552
   0xaed299 execute
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/reorg.cc:3927
   Please submit a full bug report, with preprocessed source (by using -freport-bug).
   Please include the complete backtrace with any bug report.
   See <https://gcc.gnu.org/bugs/> for instructions.
--
   In file included from drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:17:
>> drivers/staging/rtl8192e/rtllib.h:422: warning: "WLAN_CAPABILITY_ESS" redefined
     422 | #define WLAN_CAPABILITY_ESS BIT(0)
         | 
   In file included from include/net/cfg80211.h:23,
                    from drivers/staging/rtl8192e/rtllib.h:40:
   include/linux/ieee80211.h:3218: note: this is the location of the previous definition
    3218 | #define WLAN_CAPABILITY_ESS             (1<<0)
         | 
>> drivers/staging/rtl8192e/rtllib.h:423: warning: "WLAN_CAPABILITY_IBSS" redefined
     423 | #define WLAN_CAPABILITY_IBSS BIT(1)
         | 
   include/linux/ieee80211.h:3219: note: this is the location of the previous definition
    3219 | #define WLAN_CAPABILITY_IBSS            (1<<1)
         | 
>> drivers/staging/rtl8192e/rtllib.h:424: warning: "WLAN_CAPABILITY_PRIVACY" redefined
     424 | #define WLAN_CAPABILITY_PRIVACY BIT(4)
         | 
   include/linux/ieee80211.h:3231: note: this is the location of the previous definition
    3231 | #define WLAN_CAPABILITY_PRIVACY         (1<<4)
         | 
>> drivers/staging/rtl8192e/rtllib.h:425: warning: "WLAN_CAPABILITY_SHORT_PREAMBLE" redefined
     425 | #define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
         | 
   include/linux/ieee80211.h:3232: note: this is the location of the previous definition
    3232 | #define WLAN_CAPABILITY_SHORT_PREAMBLE  (1<<5)
         | 
>> drivers/staging/rtl8192e/rtllib.h:426: warning: "WLAN_CAPABILITY_SHORT_SLOT_TIME" redefined
     426 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME BIT(10)
         | 
   include/linux/ieee80211.h:3239: note: this is the location of the previous definition
    3239 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
         | 
   during RTL pass: mach
   drivers/staging/rtl8192e/rtllib_crypt_ccmp.c: In function 'rtllib_ccmp_decrypt':
   drivers/staging/rtl8192e/rtllib_crypt_ccmp.c:310:1: internal compiler error: in arc_ifcvt, at config/arc/arc.cc:9703
     310 | }
         | ^
   0x5b78c1 arc_ifcvt
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:9703
   0xe431b4 arc_reorg
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:8552
   0xaed299 execute
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/reorg.cc:3927
   Please submit a full bug report, with preprocessed source (by using -freport-bug).
   Please include the complete backtrace with any bug report.
   See <https://gcc.gnu.org/bugs/> for instructions.
--
   In file included from drivers/staging/rtl8192e/rtllib_crypt_tkip.c:23:
>> drivers/staging/rtl8192e/rtllib.h:422: warning: "WLAN_CAPABILITY_ESS" redefined
     422 | #define WLAN_CAPABILITY_ESS BIT(0)
         | 
   In file included from include/net/cfg80211.h:23,
                    from drivers/staging/rtl8192e/rtllib.h:40:
   include/linux/ieee80211.h:3218: note: this is the location of the previous definition
    3218 | #define WLAN_CAPABILITY_ESS             (1<<0)
         | 
>> drivers/staging/rtl8192e/rtllib.h:423: warning: "WLAN_CAPABILITY_IBSS" redefined
     423 | #define WLAN_CAPABILITY_IBSS BIT(1)
         | 
   include/linux/ieee80211.h:3219: note: this is the location of the previous definition
    3219 | #define WLAN_CAPABILITY_IBSS            (1<<1)
         | 
>> drivers/staging/rtl8192e/rtllib.h:424: warning: "WLAN_CAPABILITY_PRIVACY" redefined
     424 | #define WLAN_CAPABILITY_PRIVACY BIT(4)
         | 
   include/linux/ieee80211.h:3231: note: this is the location of the previous definition
    3231 | #define WLAN_CAPABILITY_PRIVACY         (1<<4)
         | 
>> drivers/staging/rtl8192e/rtllib.h:425: warning: "WLAN_CAPABILITY_SHORT_PREAMBLE" redefined
     425 | #define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
         | 
   include/linux/ieee80211.h:3232: note: this is the location of the previous definition
    3232 | #define WLAN_CAPABILITY_SHORT_PREAMBLE  (1<<5)
         | 
>> drivers/staging/rtl8192e/rtllib.h:426: warning: "WLAN_CAPABILITY_SHORT_SLOT_TIME" redefined
     426 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME BIT(10)
         | 
   include/linux/ieee80211.h:3239: note: this is the location of the previous definition
    3239 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
         | 
   during RTL pass: mach
   drivers/staging/rtl8192e/rtllib_crypt_tkip.c: In function 'rtllib_tkip_decrypt':
   drivers/staging/rtl8192e/rtllib_crypt_tkip.c:437:1: internal compiler error: in arc_ifcvt, at config/arc/arc.cc:9703
     437 | }
         | ^
   0x5b78c1 arc_ifcvt
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:9703
   0xe431b4 arc_reorg
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/config/arc/arc.cc:8552
   0xaed299 execute
   	/tmp/build-crosstools-gcc-13.2.0-binutils-2.41/gcc/gcc-13.2.0/gcc/reorg.cc:3927
   Please submit a full bug report, with preprocessed source (by using -freport-bug).
   Please include the complete backtrace with any bug report.
   See <https://gcc.gnu.org/bugs/> for instructions.
--
   In file included from drivers/staging/rtl8192e/rtl8192e/rtl_core.h:35,
                    from drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c:10:
>> drivers/staging/rtl8192e/rtl8192e/../rtllib.h:422: warning: "WLAN_CAPABILITY_ESS" redefined
     422 | #define WLAN_CAPABILITY_ESS BIT(0)
         | 
   In file included from include/net/cfg80211.h:23,
                    from drivers/staging/rtl8192e/rtl8192e/../rtllib.h:40:
   include/linux/ieee80211.h:3218: note: this is the location of the previous definition
    3218 | #define WLAN_CAPABILITY_ESS             (1<<0)
         | 
>> drivers/staging/rtl8192e/rtl8192e/../rtllib.h:423: warning: "WLAN_CAPABILITY_IBSS" redefined
     423 | #define WLAN_CAPABILITY_IBSS BIT(1)
         | 
   include/linux/ieee80211.h:3219: note: this is the location of the previous definition
    3219 | #define WLAN_CAPABILITY_IBSS            (1<<1)
         | 
>> drivers/staging/rtl8192e/rtl8192e/../rtllib.h:424: warning: "WLAN_CAPABILITY_PRIVACY" redefined
     424 | #define WLAN_CAPABILITY_PRIVACY BIT(4)
         | 
   include/linux/ieee80211.h:3231: note: this is the location of the previous definition
    3231 | #define WLAN_CAPABILITY_PRIVACY         (1<<4)
         | 
>> drivers/staging/rtl8192e/rtl8192e/../rtllib.h:425: warning: "WLAN_CAPABILITY_SHORT_PREAMBLE" redefined
     425 | #define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
         | 
   include/linux/ieee80211.h:3232: note: this is the location of the previous definition
    3232 | #define WLAN_CAPABILITY_SHORT_PREAMBLE  (1<<5)
         | 
>> drivers/staging/rtl8192e/rtl8192e/../rtllib.h:426: warning: "WLAN_CAPABILITY_SHORT_SLOT_TIME" redefined
     426 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME BIT(10)
         | 
   include/linux/ieee80211.h:3239: note: this is the location of the previous definition
    3239 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10)
         | 


vim +/WLAN_CAPABILITY_ESS +422 drivers/staging/rtl8192e/rtllib.h

   421	
 > 422	#define WLAN_CAPABILITY_ESS BIT(0)
 > 423	#define WLAN_CAPABILITY_IBSS BIT(1)
 > 424	#define WLAN_CAPABILITY_PRIVACY BIT(4)
 > 425	#define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
 > 426	#define WLAN_CAPABILITY_SHORT_SLOT_TIME BIT(10)
   427	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2024-03-11  6:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-10 23:55 [PATCH 00/11] Staging: rtl8192e: Style guide Renames and Macros Tree Davies
2024-03-10 23:55 ` [PATCH 01/11] Staging: rtl8192e: Rename variable ReturnPoint Tree Davies
2024-03-10 23:55 ` [PATCH 02/11] Staging: rtl8192e: Rename variable TimeStampLow Tree Davies
2024-03-10 23:55 ` [PATCH 03/11] Staging: rtl8192e: Rename variable TimeStampHigh Tree Davies
2024-03-10 23:55 ` [PATCH 04/11] Staging: rtl8192e: Rename variable Frame_Order Tree Davies
2024-03-10 23:55 ` [PATCH 05/11] Staging: rtl8192e: Rename variable aSifsTime Tree Davies
2024-03-10 23:55 ` [PATCH 06/11] Staging: rtl8192e: Rename variable posHTCap Tree Davies
2024-03-10 23:55 ` [PATCH 07/11] Staging: rtl8192e: Rename variable bRTSUseShortPreamble Tree Davies
2024-03-10 23:55 ` [PATCH 08/11] Staging: rtl8192e: Rename variable pBssHT Tree Davies
2024-03-10 23:55 ` [PATCH 09/11] Staging: rtl8192e: Rename variable bAllowAllDA Tree Davies
2024-03-10 23:55 ` [PATCH 10/11] Staging: rtl8192e: Rename variable WriteIntoReg Tree Davies
2024-03-10 23:55 ` [PATCH 11/11] Staging: rtl8192e: Implement BIT macro for bit shift ops Tree Davies
2024-03-11  6:39   ` kernel test robot [this message]
2024-03-11  9:24   ` kernel test robot
2024-03-11  5:45 ` [PATCH 00/11] Staging: rtl8192e: Style guide Renames and Macros Dan Carpenter
2024-03-25 18:01 ` Greg KH
2024-03-25 18:02   ` Greg KH

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=202403111451.mwNy2vqG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anjan@momi.ca \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=philipp.g.hortmann@gmail.com \
    --cc=tdavies@darkphysics.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.