[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601311229.Q4R3mSEP-lkp@intel.com>
Date: Sat, 31 Jan 2026 12:26:42 +0800
From: kernel test robot <lkp@...el.com>
To: Luka Gejak <lukagejak5@...il.com>, gregkh@...uxfoundation.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
straube.linux@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, Luka Gejak <lukagejak5@...il.com>
Subject: Re: [PATCH 2/3] staging: rtl8723bs: modernize hex output and WMM
check
Hi Luka,
kernel test robot noticed the following build warnings:
[auto build test WARNING on staging/staging-linus]
[also build test WARNING on linus/master v6.19-rc7]
[cannot apply to staging/staging-testing staging/staging-next next-20260130]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Luka-Gejak/staging-rtl8723bs-modernize-hex-output-and-WMM-check/20260129-012011
base: staging/staging-linus
patch link: https://lore.kernel.org/r/20260128171635.39879-2-lukagejak5%40gmail.com
patch subject: [PATCH 2/3] staging: rtl8723bs: modernize hex output and WMM check
config: i386-randconfig-012-20260131 (https://download.01.org/0day-ci/archive/20260131/202601311229.Q4R3mSEP-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/20260131/202601311229.Q4R3mSEP-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601311229.Q4R3mSEP-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/staging/rtl8723bs/core/rtw_mlme.c:2072:16: warning: unused variable 'i' [-Wunused-variable]
2072 | u8 *buff, *p, i;
| ^
1 warning generated.
vim +/i +2072 drivers/staging/rtl8723bs/core/rtw_mlme.c
554c0a3abf216c Hans de Goede 2017-03-29 2068
522440e4176a67 Michael Straube 2025-08-01 2069 static void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie)
522440e4176a67 Michael Straube 2025-08-01 2070 {
522440e4176a67 Michael Straube 2025-08-01 2071 uint len;
522440e4176a67 Michael Straube 2025-08-01 @2072 u8 *buff, *p, i;
522440e4176a67 Michael Straube 2025-08-01 2073 union iwreq_data wrqu;
522440e4176a67 Michael Straube 2025-08-01 2074
522440e4176a67 Michael Straube 2025-08-01 2075 buff = NULL;
522440e4176a67 Michael Straube 2025-08-01 2076 if (authmode == WLAN_EID_VENDOR_SPECIFIC) {
522440e4176a67 Michael Straube 2025-08-01 2077 buff = rtw_zmalloc(IW_CUSTOM_MAX);
522440e4176a67 Michael Straube 2025-08-01 2078 if (!buff)
522440e4176a67 Michael Straube 2025-08-01 2079 return;
522440e4176a67 Michael Straube 2025-08-01 2080
522440e4176a67 Michael Straube 2025-08-01 2081 p = buff;
522440e4176a67 Michael Straube 2025-08-01 2082
522440e4176a67 Michael Straube 2025-08-01 2083 p += scnprintf(p, IW_CUSTOM_MAX - (p - buff), "ASSOCINFO(ReqIEs =");
522440e4176a67 Michael Straube 2025-08-01 2084
522440e4176a67 Michael Straube 2025-08-01 2085 len = sec_ie[1] + 2;
522440e4176a67 Michael Straube 2025-08-01 2086 len = (len < IW_CUSTOM_MAX) ? len : IW_CUSTOM_MAX;
522440e4176a67 Michael Straube 2025-08-01 2087
f053642fd6f8e2 Luka Gejak 2026-01-28 2088 p += scnprintf(p, IW_CUSTOM_MAX - (p - buff), " %*ph", len, sec_ie);
522440e4176a67 Michael Straube 2025-08-01 2089
522440e4176a67 Michael Straube 2025-08-01 2090 p += scnprintf(p, IW_CUSTOM_MAX - (p - buff), ")");
522440e4176a67 Michael Straube 2025-08-01 2091
522440e4176a67 Michael Straube 2025-08-01 2092 memset(&wrqu, 0, sizeof(wrqu));
522440e4176a67 Michael Straube 2025-08-01 2093
522440e4176a67 Michael Straube 2025-08-01 2094 wrqu.data.length = p - buff;
522440e4176a67 Michael Straube 2025-08-01 2095
522440e4176a67 Michael Straube 2025-08-01 2096 wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? wrqu.data.length : IW_CUSTOM_MAX;
522440e4176a67 Michael Straube 2025-08-01 2097
522440e4176a67 Michael Straube 2025-08-01 2098 kfree(buff);
522440e4176a67 Michael Straube 2025-08-01 2099 }
522440e4176a67 Michael Straube 2025-08-01 2100 }
522440e4176a67 Michael Straube 2025-08-01 2101
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists