From: kernel test robot <lkp@intel.com>
To: Cristian Marussi <cristian.marussi@arm.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [cris:scmi_telemetry_ng_V5 12/27] drivers/firmware/arm_scmi/telemetry.c:1345:44: sparse: sparse: dereference of noderef expression
Date: Sat, 04 Jul 2026 13:32:56 +0800 [thread overview]
Message-ID: <202607041355.ZNxOPVsa-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cris/linux.git scmi_telemetry_ng_V5
head: 12bf8bf979989adcd25b57e702706658e00cee91
commit: 9d1fa2b0ff4af2334e6ab35bcc4b37d2338d3f6e [12/27] firmware: arm_scmi: Add support to parse SHMTIs areas
config: hexagon-randconfig-r122-20260704 (https://download.01.org/0day-ci/archive/20260704/202607041355.ZNxOPVsa-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 0a2fb2a2269da0e2a3e230beb6cad39ca314db33)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260704/202607041355.ZNxOPVsa-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/202607041355.ZNxOPVsa-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/firmware/arm_scmi/telemetry.c:1314:48: sparse: sparse: non size-preserving pointer to integer cast
>> drivers/firmware/arm_scmi/telemetry.c:1345:44: sparse: sparse: dereference of noderef expression
drivers/firmware/arm_scmi/telemetry.c:1353:48: sparse: sparse: non size-preserving pointer to integer cast
vim +1345 drivers/firmware/arm_scmi/telemetry.c
1331
1332 static struct telemetry_uuid *
1333 scmi_telemetry_uuid_create(struct device *dev, struct xarray *xa_lines,
1334 struct payload __iomem *payld)
1335 {
1336 struct telemetry_uuid *uuid;
1337 struct uuid_line __iomem *uuid_l = &payld->uuid_l;
1338 int ret;
1339
1340 uuid = kzalloc_obj(*uuid);
1341 if (!uuid)
1342 return NULL;
1343
1344 for (int i = 0; i < SCMI_TLM_DE_IMPL_MAX_DWORDS; i++)
> 1345 uuid->de_impl_version[i] = le32_to_cpu(uuid_l->dwords[i]);
1346
1347 ret = scmi_telemetry_line_init(&uuid->line, xa_lines, payld);
1348 if (ret) {
1349 kfree(uuid);
1350 return NULL;
1351 }
1352
1353 trace_scmi_tlm_collect(0, (__force u64)payld, 0, "SHMTI_NEW_UUID");
1354
1355 return uuid;
1356 }
1357
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-04 5:34 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=202607041355.ZNxOPVsa-lkp@intel.com \
--to=lkp@intel.com \
--cc=cristian.marussi@arm.com \
--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.