* [chrome-os:chromeos-6.6 320/320] drivers/net/wireless/realtek/rtw89/rtw8852bt_rfk.c:1896:6-32: opportunity for str_on_off(rtwdev -> is_tssi_mode [ path ])
@ 2025-07-28 15:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-28 15:19 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Julia Lawall
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com
Hi Ping-Ke,
First bad commit (maybe != root cause):
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-6.6
head: 32c99cd5db842851e5acd8b583738b7848afc5fd
commit: 3d6c0d0fe1eac2100870a57c34988bb47ac181ff [320/320] UPSTREAM: wifi: rtw89: 8852bt: add 8852BE-VT to Makefile and Kconfig
:::::: branch date: 13 hours ago
:::::: commit date: 2 weeks ago
config: x86_64-randconfig-102-20250728 (https://download.01.org/0day-ci/archive/20250728/202507282341.drTGfLWA-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
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>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202507282341.drTGfLWA-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> drivers/net/wireless/realtek/rtw89/rtw8852bt_rfk.c:1896:6-32: opportunity for str_on_off(rtwdev -> is_tssi_mode [ path ])
>> drivers/net/wireless/realtek/rtw89/rtw8852bt_rfk.c:1897:6-21: opportunity for str_on_off(rtwdev -> dbcc_en)
vim +1896 drivers/net/wireless/realtek/rtw89/rtw8852bt_rfk.c
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1880
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1881 static void _dpk_information(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1882 enum rtw89_rf_path path)
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1883 {
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1884 const struct rtw89_chan *chan = rtw89_chan_get(rtwdev, RTW89_SUB_ENTITY_0);
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1885 struct rtw89_dpk_info *dpk = &rtwdev->dpk;
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1886
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1887 u8 kidx = dpk->cur_idx[path];
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1888
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1889 dpk->bp[path][kidx].band = chan->band_type;
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1890 dpk->bp[path][kidx].ch = chan->channel;
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1891 dpk->bp[path][kidx].bw = chan->band_width;
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1892
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1893 rtw89_debug(rtwdev, RTW89_DBG_RFK,
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1894 "[DPK] S%d[%d] (PHY%d): TSSI %s/ DBCC %s/ %s/ CH%d/ %s\n",
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1895 path, dpk->cur_idx[path], phy,
76fb99e9e8468c Ping-Ke Shih 2024-06-21 @1896 rtwdev->is_tssi_mode[path] ? "on" : "off",
76fb99e9e8468c Ping-Ke Shih 2024-06-21 @1897 rtwdev->dbcc_en ? "on" : "off",
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1898 dpk->bp[path][kidx].band == 0 ? "2G" :
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1899 dpk->bp[path][kidx].band == 1 ? "5G" : "6G",
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1900 dpk->bp[path][kidx].ch,
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1901 dpk->bp[path][kidx].bw == 0 ? "20M" :
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1902 dpk->bp[path][kidx].bw == 1 ? "40M" : "80M");
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1903 }
76fb99e9e8468c Ping-Ke Shih 2024-06-21 1904
:::::: The code at line 1896 was first introduced by commit
:::::: 76fb99e9e8468c10e2936d313dfe1e7214c951ef UPSTREAM: wifi: rtw89: 8852bt: rfk: add DPK
:::::: TO: Ping-Ke Shih <pkshih@realtek.com>
:::::: CC: Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-28 15:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 15:19 [chrome-os:chromeos-6.6 320/320] drivers/net/wireless/realtek/rtw89/rtw8852bt_rfk.c:1896:6-32: opportunity for str_on_off(rtwdev -> is_tssi_mode [ path ]) kernel test robot
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.