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_V8 14/30] drivers/firmware/arm_scmi/telemetry.c:1448:48: sparse: sparse: non size-preserving pointer to integer cast
Date: Mon, 10 Aug 2026 05:30:30 +0800 [thread overview]
Message-ID: <202608100544.cd55x04T-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cris/linux.git scmi_telemetry_ng_V8
head: bc3b27dd68cfc244c1e7717b72f88b2dfcb28d2e
commit: b3af22d84385fa2de874059ed603f6636ed76afb [14/30] firmware: arm_scmi: Add support to parse SHMTIs areas
config: powerpc-randconfig-r132-20260809 (https://download.01.org/0day-ci/archive/20260810/202608100544.cd55x04T-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 15.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260810/202608100544.cd55x04T-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/202608100544.cd55x04T-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/firmware/arm_scmi/telemetry.c:1448:48: sparse: sparse: non size-preserving pointer to integer cast
drivers/firmware/arm_scmi/telemetry.c:1541:48: sparse: sparse: non size-preserving pointer to integer cast
vim +1448 drivers/firmware/arm_scmi/telemetry.c
1429
1430 static struct telemetry_block_ts *
1431 scmi_telemetry_blkts_create(struct telemetry_info *ti,
1432 struct payload __iomem *payld)
1433 {
1434 struct telemetry_block_ts *bts;
1435 int ret;
1436
1437 bts = kzalloc_obj(*bts);
1438 if (!bts)
1439 return NULL;
1440
1441 ret = scmi_telemetry_line_init(&bts->line, &ti->xa_lines, payld,
1442 TDCF_BLK_TS_LINE);
1443 if (ret) {
1444 kfree(bts);
1445 return NULL;
1446 }
1447
> 1448 trace_scmi_tlm_collect(0, (__force u64)payld, 0, "SHMTI_NEW_BLKTS");
1449
1450 return bts;
1451 }
1452
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-09 21:31 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=202608100544.cd55x04T-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.