All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luka Gejak <luka.gejak@linux.dev>
Cc: oe-kbuild-all@lists.linux.dev, 0day robot <lkp@intel.com>
Subject: drivers/net/wireless/realtek/rtw88/rtw8723b.c:887:14: error: implicit declaration of function 'rtw_is_8723bs'
Date: Tue, 29 Sep 2026 20:19:37 +0200	[thread overview]
Message-ID: <202609292014.G35KdjRb-lkp@intel.com> (raw)

Hi Luka,

First bad commit (maybe != root cause):

tree:   https://github.com/intel-lab-lkp/linux/commits/Luka-Gejak/wifi-rtw88-8723b-add-the-RTL8723B-register-definitions/20260923-233552
head:   da9184c2d6b833c71a23457725f59bc53d1e701c
commit: 14821f5031bac6af26d9c7e87a1398dbc32b8be4 wifi: rtw88: 8723bs: enable building the RTL8723BS driver
date:   6 days ago
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260929/202609292014.G35KdjRb-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260929/202609292014.G35KdjRb-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/202609292014.G35KdjRb-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/wireless/realtek/rtw88/rtw8723b.c: In function 'rtw8723b_sdio_restore_pad_ctrl':
>> drivers/net/wireless/realtek/rtw88/rtw8723b.c:887:14: error: implicit declaration of function 'rtw_is_8723bs' [-Wimplicit-function-declaration]
     887 |         if (!rtw_is_8723bs(rtwdev))
         |              ^~~~~~~~~~~~~
   drivers/net/wireless/realtek/rtw88/rtw8723b.c: At top level:
>> drivers/net/wireless/realtek/rtw88/rtw8723b.c:2733:15: error: 'RTW_CHIP_TYPE_8723B' undeclared here (not in a function); did you mean 'RTW_CHIP_TYPE_8703B'?
    2733 |         .id = RTW_CHIP_TYPE_8723B,
         |               ^~~~~~~~~~~~~~~~~~~
         |               RTW_CHIP_TYPE_8703B


vim +/rtw_is_8723bs +887 drivers/net/wireless/realtek/rtw88/rtw8723b.c

515ac37e9b3b7d5 Luka Gejak 2026-09-23  880  
515ac37e9b3b7d5 Luka Gejak 2026-09-23  881  static void rtw8723b_sdio_restore_pad_ctrl(struct rtw_dev *rtwdev,
515ac37e9b3b7d5 Luka Gejak 2026-09-23  882  					   bool keep_pta_owner)
515ac37e9b3b7d5 Luka Gejak 2026-09-23  883  {
515ac37e9b3b7d5 Luka Gejak 2026-09-23  884  	u32 before;
515ac37e9b3b7d5 Luka Gejak 2026-09-23  885  	u32 after;
515ac37e9b3b7d5 Luka Gejak 2026-09-23  886  
515ac37e9b3b7d5 Luka Gejak 2026-09-23 @887  	if (!rtw_is_8723bs(rtwdev))
515ac37e9b3b7d5 Luka Gejak 2026-09-23  888  		return;
515ac37e9b3b7d5 Luka Gejak 2026-09-23  889  
515ac37e9b3b7d5 Luka Gejak 2026-09-23  890  	before = rtw_read32(rtwdev, REG_PAD_CTRL1);
515ac37e9b3b7d5 Luka Gejak 2026-09-23  891  	after = before & ~(BIT_LNAON_WLBT_SEL | BIT_SW_DPDT_SEL_DATA);
515ac37e9b3b7d5 Luka Gejak 2026-09-23  892  	if (keep_pta_owner)
515ac37e9b3b7d5 Luka Gejak 2026-09-23  893  		after |= BIT_PAPE_WLBT_SEL;
515ac37e9b3b7d5 Luka Gejak 2026-09-23  894  	else
515ac37e9b3b7d5 Luka Gejak 2026-09-23  895  		after &= ~BIT_PAPE_WLBT_SEL;
515ac37e9b3b7d5 Luka Gejak 2026-09-23  896  	if (after == before)
515ac37e9b3b7d5 Luka Gejak 2026-09-23  897  		return;
515ac37e9b3b7d5 Luka Gejak 2026-09-23  898  
515ac37e9b3b7d5 Luka Gejak 2026-09-23  899  	rtw_write32(rtwdev, REG_PAD_CTRL1, after);
515ac37e9b3b7d5 Luka Gejak 2026-09-23  900  }
515ac37e9b3b7d5 Luka Gejak 2026-09-23  901  

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

                 reply	other threads:[~2026-09-29 18:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609292014.G35KdjRb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=luka.gejak@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 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.