Re: [REGRESSION] mainline/master: (build) format specifies type 'unsigned long' but the argument has type 's...

Thorsten Leemhuis <[email protected]>
Newsgroups dev.linux.lists.kernelci,dev.linux.lists.regressions
Message-ID <[email protected]>

On 8/21/26 23:59, KernelCI bot wrote:
> New build issue found on mainline/master:
> 
> ---
>  format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] in drivers/scsi/qla2xxx/qla_init.o (drivers/scsi/qla2xxx/qla_init.c) [logspec:kbuild,kbuild.compiler.error]
> ---
> 
> Log excerpt:
> =====================================================
> /tmp/kci/linux/drivers/scsi/qla2xxx/qla_init.c:9274:8: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
>  9272 |                             "TIM section too large (0x%x bytes, ring 0x%lx bytes).\n",
>       |                                                                        ~~~
>       |                                                                        %zx
>  9273 |                             section_size,
>  9274 |                             req->length * qla_req_entry_size(ha));
>       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.

Fix is underway:
https://lore.kernel.org/all/20260811-scsi-qla2xxxx-qla_init-wformat-v1-1-50760021914f@kernel.org/

#regzbot introduced: c3930ec119cb
#regzbot fix: 431e735e9bb6b7

Ciao, Thorsten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.