Re: [PATCH -next] 8250_men_mcb: Fix unsigned expression compared with zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 04, 2023 at 07:07:06AM +0200, Jiri Slaby wrote:
> On 03. 08. 23, 16:20, Li Zetao wrote:

...

> But I wonder why this didn't emit a warning:
>   dev_info(&mdev->dev, "found MCB UART: ttyS%d\n", data->line[i]);
> 
> I.e. %d for uint?

Do we have this anywhere enabled -Wformat-signedness?

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux