From: kernel test robot <lkp@intel.com>
To: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev, Mark Brown <broonie@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>
Subject: [linux-next:master 3052/4234] sound/soc/qcom/qdsp6/topology.c:317:30: sparse: sparse: restricted __le32 degrades to integer
Date: Sat, 23 Aug 2025 07:27:14 +0800 [thread overview]
Message-ID: <202508230741.heXmHeDC-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0f4c93f7eb861acab537dbe94441817a270537bf
commit: c7ed4c2debfd192f6071f4ab33c092d419abb941 [3052/4234] ASoC: qcom: audioreach: add support for static calibration
config: csky-randconfig-r121-20250822 (https://download.01.org/0day-ci/archive/20250823/202508230741.heXmHeDC-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 15.1.0
reproduce: (https://download.01.org/0day-ci/archive/20250823/202508230741.heXmHeDC-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/202508230741.heXmHeDC-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/qcom/qdsp6/topology.c:317:30: sparse: sparse: restricted __le32 degrades to integer
vim +317 sound/soc/qcom/qdsp6/topology.c
307
308 static struct audioreach_module_priv_data *audioreach_get_module_priv_data(
309 struct snd_soc_tplg_private *private)
310 {
311 int sz;
312
313 for (sz = 0; sz < le32_to_cpu(private->size); ) {
314 struct snd_soc_tplg_vendor_array *mod_array;
315
316 mod_array = (struct snd_soc_tplg_vendor_array *)((u8 *)private->array + sz);
> 317 if (mod_array->type == SND_SOC_AR_TPLG_MODULE_CFG_TYPE) {
318 struct audioreach_module_priv_data *pdata;
319
320 pdata = kzalloc(struct_size(pdata, data, le32_to_cpu(mod_array->size)),
321 GFP_KERNEL);
322 if (!pdata)
323 return ERR_PTR(-ENOMEM);
324
325 memcpy(pdata, ((u8 *)private->data + sz), struct_size(pdata, data,
326 le32_to_cpu(mod_array->size)));
327 return pdata;
328 }
329
330 sz = sz + le32_to_cpu(mod_array->size);
331 }
332
333 return NULL;
334 }
335
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-08-22 23:27 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=202508230741.heXmHeDC-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=krzk@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=srinivas.kandagatla@oss.qualcomm.com \
/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.