From: kernel test robot <lkp@intel.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Jeff Johnson <jjohnson@kernel.org>,
linux-wireless@vger.kernel.org, ath10k@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, Krzysztof Kozlowski <krzk@kernel.org>
Subject: Re: [PATCH] wifi: ath10k: Drop unused qmi_elem_info arrays
Date: Fri, 30 Oct 2026 14:47:35 +0800 [thread overview]
Message-ID: <202610301453.rMXyuD6F-lkp@intel.com> (raw)
In-Reply-To: <20261029111127.85147-2-krzysztof.kozlowski@oss.qualcomm.com>
Hi Krzysztof,
kernel test robot noticed the following build warnings:
[auto build test WARNING on ath/ath-next]
[also build test WARNING on wireless/main wireless-next/main linus/master v7.3 next-20261029]
[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/Krzysztof-Kozlowski/wifi-ath10k-Drop-unused-qmi_elem_info-arrays/20261029-121128
base: https://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git ath-next
patch link: https://lore.kernel.org/r/20261029111127.85147-2-krzysztof.kozlowski%40oss.qualcomm.com
patch subject: [PATCH] wifi: ath10k: Drop unused qmi_elem_info arrays
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20261030/202610301453.rMXyuD6F-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261030/202610301453.rMXyuD6F-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/202610301453.rMXyuD6F-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c:229:35: warning: 'wlfw_mem_seg_resp_s_v01_ei' defined but not used [-Wunused-const-variable=]
229 | static const struct qmi_elem_info wlfw_mem_seg_resp_s_v01_ei[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c:188:35: warning: 'wlfw_mem_seg_s_v01_ei' defined but not used [-Wunused-const-variable=]
188 | static const struct qmi_elem_info wlfw_mem_seg_s_v01_ei[] = {
| ^~~~~~~~~~~~~~~~~~~~~
vim +/wlfw_mem_seg_resp_s_v01_ei +229 drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c
bc17d4b90cdd3e5 Govind Singh 2018-10-11 187
11e1fcf2b494da8 Jeff Johnson 2022-09-14 @188 static const struct qmi_elem_info wlfw_mem_seg_s_v01_ei[] = {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 189 {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 190 .data_type = QMI_UNSIGNED_4_BYTE,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 191 .elem_len = 1,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 192 .elem_size = sizeof(u32),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 193 .array_type = NO_ARRAY,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 194 .tlv_type = 0,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 195 .offset = offsetof(struct wlfw_mem_seg_s_v01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 196 size),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 197 },
bc17d4b90cdd3e5 Govind Singh 2018-10-11 198 {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 199 .data_type = QMI_SIGNED_4_BYTE_ENUM,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 200 .elem_len = 1,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 201 .elem_size = sizeof(enum wlfw_mem_type_enum_v01),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 202 .array_type = NO_ARRAY,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 203 .tlv_type = 0,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 204 .offset = offsetof(struct wlfw_mem_seg_s_v01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 205 type),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 206 },
bc17d4b90cdd3e5 Govind Singh 2018-10-11 207 {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 208 .data_type = QMI_DATA_LEN,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 209 .elem_len = 1,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 210 .elem_size = sizeof(u8),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 211 .array_type = NO_ARRAY,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 212 .tlv_type = 0,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 213 .offset = offsetof(struct wlfw_mem_seg_s_v01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 214 mem_cfg_len),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 215 },
bc17d4b90cdd3e5 Govind Singh 2018-10-11 216 {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 217 .data_type = QMI_STRUCT,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 218 .elem_len = QMI_WLFW_MAX_NUM_MEM_CFG_V01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 219 .elem_size = sizeof(struct wlfw_mem_cfg_s_v01),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 220 .array_type = VAR_LEN_ARRAY,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 221 .tlv_type = 0,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 222 .offset = offsetof(struct wlfw_mem_seg_s_v01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 223 mem_cfg),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 224 .ei_array = wlfw_mem_cfg_s_v01_ei,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 225 },
bc17d4b90cdd3e5 Govind Singh 2018-10-11 226 {}
bc17d4b90cdd3e5 Govind Singh 2018-10-11 227 };
bc17d4b90cdd3e5 Govind Singh 2018-10-11 228
11e1fcf2b494da8 Jeff Johnson 2022-09-14 @229 static const struct qmi_elem_info wlfw_mem_seg_resp_s_v01_ei[] = {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 230 {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 231 .data_type = QMI_UNSIGNED_8_BYTE,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 232 .elem_len = 1,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 233 .elem_size = sizeof(u64),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 234 .array_type = NO_ARRAY,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 235 .tlv_type = 0,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 236 .offset = offsetof(struct wlfw_mem_seg_resp_s_v01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 237 addr),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 238 },
bc17d4b90cdd3e5 Govind Singh 2018-10-11 239 {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 240 .data_type = QMI_UNSIGNED_4_BYTE,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 241 .elem_len = 1,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 242 .elem_size = sizeof(u32),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 243 .array_type = NO_ARRAY,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 244 .tlv_type = 0,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 245 .offset = offsetof(struct wlfw_mem_seg_resp_s_v01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 246 size),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 247 },
bc17d4b90cdd3e5 Govind Singh 2018-10-11 248 {
bc17d4b90cdd3e5 Govind Singh 2018-10-11 249 .data_type = QMI_SIGNED_4_BYTE_ENUM,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 250 .elem_len = 1,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 251 .elem_size = sizeof(enum wlfw_mem_type_enum_v01),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 252 .array_type = NO_ARRAY,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 253 .tlv_type = 0,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 254 .offset = offsetof(struct wlfw_mem_seg_resp_s_v01,
bc17d4b90cdd3e5 Govind Singh 2018-10-11 255 type),
bc17d4b90cdd3e5 Govind Singh 2018-10-11 256 },
bc17d4b90cdd3e5 Govind Singh 2018-10-11 257 {}
bc17d4b90cdd3e5 Govind Singh 2018-10-11 258 };
bc17d4b90cdd3e5 Govind Singh 2018-10-11 259
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-10-30 6:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 11:11 [PATCH] wifi: ath10k: Drop unused qmi_elem_info arrays Krzysztof Kozlowski
2026-10-29 19:54 ` Jeff Johnson
2026-10-30 6:43 ` Krzysztof Kozlowski
2026-10-30 6:47 ` kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-30 7:19 Krzysztof Kozlowski
2026-10-30 7:34 ` Krzysztof Kozlowski
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=202610301453.rMXyuD6F-lkp@intel.com \
--to=lkp@intel.com \
--cc=ath10k@lists.infradead.org \
--cc=jjohnson@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--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