* Re: [REGRESSION] next/master: (build) format ‘%ld’ expects argument of type ‘long int’, but argument 2 h...
[not found] <CACo-S-29Degjym-azsJNSd1yofLOB2_Rf5xpa9b7L-14OPn7wQ@mail.gmail.com>
@ 2025-07-08 22:03 ` Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2025-07-08 22:03 UTC (permalink / raw)
To: kernelci, kernelci-results
Cc: regressions, gus, linux-next, david.e.box,
open list:AMD HETERO CORE HARDWARE FEEDBACK DRIVER,
Ilpo Järvinen
On 7/8/25 4:59 AM, KernelCI bot wrote:
> Hello,
>
> New build issue found on next/master:
>
> ---
> format ‘%ld’ expects argument of type ‘long int’, but argument 2 has
> type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=] in
> drivers/platform/x86/intel/pmt/discovery.o
> (drivers/platform/x86/intel/pmt/discovery.c)
> [logspec:kbuild,kbuild.compiler.error]
> ---
>
> - dashboard: https://d.kernelci.org/i/maestro:8fa7949e2280282be6a5756d890d8a9cc1472e21
> - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> - commit HEAD: 58ba80c4740212c29a1cf9b48f588e60a7612209
>
>
> Log excerpt:
> =====================================================
> drivers/platform/x86/intel/pmt/discovery.c:427:35: error: format ‘%ld’
> expects argument of type ‘long int’, but argument 2 has type ‘size_t’
> {aka ‘unsigned int’} [-Werror=format=]
> 427 | if (WARN(size > res_size, "Bad table size %ld > %pa",
> size, &res_size))
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
> | |
> |
> size_t {aka unsigned int}
> ./include/asm-generic/bug.h:112:31: note: in definition of macro ‘__WARN_printf’
> 112 | __warn_printk(arg);
> \
> | ^~~
> drivers/platform/x86/intel/pmt/discovery.c:427:13: note: in expansion
> of macro ‘WARN’
> 427 | if (WARN(size > res_size, "Bad table size %ld > %pa",
> size, &res_size))
> | ^~~~
> drivers/platform/x86/intel/pmt/discovery.c:427:53: note: format string
> is defined here
> 427 | if (WARN(size > res_size, "Bad table size %ld > %pa",
> size, &res_size))
> | ~~^
> | |
> | long int
> | %d
> CC [M] drivers/platform/chrome/wilco_ec/telemetry.o
> cc1: all warnings being treated as errors
>
> =====================================================
>
>
> # Builds where the incident occurred:
>
> ## defconfig+kcidebug+x86-board on (i386):
> - compiler: gcc-12
> - dashboard: https://d.kernelci.org/build/maestro:686cf98934612746bbb465bb
>
>
> #kernelci issue maestro:8fa7949e2280282be6a5756d890d8a9cc1472e21
>
> Reported-by: kernelci.org bot <bot@kernelci.org>
>
> --
> This is an experimental report format. Please send feedback in!
> Talk to us at kernelci@lists.linux.dev
>
> Made with love by the KernelCI team - https://kernelci.org
>
This is from commit d9a0788093565:
platform/x86/intel/pmt: Add PMT Discovery driver
Cc:ing David Box.
--
~Randy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-08 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CACo-S-29Degjym-azsJNSd1yofLOB2_Rf5xpa9b7L-14OPn7wQ@mail.gmail.com>
2025-07-08 22:03 ` [REGRESSION] next/master: (build) format ‘%ld’ expects argument of type ‘long int’, but argument 2 h Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).