Linux kernel staging patches
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ashwin Gundarapu <linuxuser509@zohomail.in>,
	gregkh <gregkh@linuxfoundation.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-staging <linux-staging@lists.linux.dev>
Subject: Re: [PATCH v7] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c
Date: Thu, 14 May 2026 11:33:36 +0800	[thread overview]
Message-ID: <202605141108.KAKaXH7X-lkp@intel.com> (raw)
In-Reply-To: <19e1c077ee4.2272059b46402.3689085453526247548@zohomail.in>

Hi Ashwin,

kernel test robot noticed the following build errors:

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

url:    https://github.com/intel-lab-lkp/linux/commits/Ashwin-Gundarapu/staging-rtl8723bs-remove-unnecessary-braces-in-rtw_mlme-c/20260514-040753
base:   staging/staging-testing
patch link:    https://lore.kernel.org/r/19e1c077ee4.2272059b46402.3689085453526247548%40zohomail.in
patch subject: [PATCH v7] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c
config: i386-buildonly-randconfig-006-20260514 (https://download.01.org/0day-ci/archive/20260514/202605141108.KAKaXH7X-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605141108.KAKaXH7X-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/202605141108.KAKaXH7X-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/staging/rtl8723bs/core/rtw_mlme.c:568:1: error: function definition is not allowed here
     568 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:582:1: error: function definition is not allowed here
     582 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:628:1: error: function definition is not allowed here
     628 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:632:1: error: function definition is not allowed here
     632 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:675:1: error: function definition is not allowed here
     675 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:774:1: error: function definition is not allowed here
     774 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:778:1: error: function definition is not allowed here
     778 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:782:1: error: function definition is not allowed here
     782 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:805:1: error: function definition is not allowed here
     805 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:823:1: error: function definition is not allowed here
     823 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:853:1: error: function definition is not allowed here
     853 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:879:1: error: function definition is not allowed here
     879 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:908:1: error: function definition is not allowed here
     908 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:920:1: error: function definition is not allowed here
     920 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:942:1: error: function definition is not allowed here
     942 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:1026:1: error: function definition is not allowed here
    1026 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:1073:1: error: function definition is not allowed here
    1073 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:1139:1: error: function definition is not allowed here
    1139 | {
         | ^
   drivers/staging/rtl8723bs/core/rtw_mlme.c:1247:1: error: function definition is not allowed here
    1247 | {
         | ^
   fatal error: too many errors emitted, stopping now [-ferror-limit=]
   20 errors generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for MFD_STMFX
   Depends on [n]: HAS_IOMEM [=y] && I2C [=m] && OF [=n]
   Selected by [m]:
   - PINCTRL_STMFX [=m] && PINCTRL [=y] && I2C [=m] && HAS_IOMEM [=y]


vim +568 drivers/staging/rtl8723bs/core/rtw_mlme.c

554c0a3abf216c Hans de Goede 2017-03-29  565  
554c0a3abf216c Hans de Goede 2017-03-29  566  void rtw_add_network(struct adapter *adapter, struct wlan_bssid_ex *pnetwork);
554c0a3abf216c Hans de Goede 2017-03-29  567  void rtw_add_network(struct adapter *adapter, struct wlan_bssid_ex *pnetwork)
554c0a3abf216c Hans de Goede 2017-03-29 @568  {
554c0a3abf216c Hans de Goede 2017-03-29  569  	update_current_network(adapter, pnetwork);
554c0a3abf216c Hans de Goede 2017-03-29  570  	rtw_update_scanned_network(adapter, pnetwork);
554c0a3abf216c Hans de Goede 2017-03-29  571  }
554c0a3abf216c Hans de Goede 2017-03-29  572  

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

      parent reply	other threads:[~2026-05-14  3:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-12 11:51 [PATCH v7] staging: rtl8723bs: remove unnecessary braces in rtw_mlme.c Ashwin Gundarapu
2026-05-12 11:55 ` Dan Carpenter
2026-05-14  1:38 ` kernel test robot
2026-05-14  3:33 ` kernel test robot [this message]

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=202605141108.KAKaXH7X-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=linuxuser509@zohomail.in \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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