Re: [PATCH] serial: samsung: Change MAX_CLK_NAME_LENGTH to 17

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

 



On 05/06/2024 06:07, Kwanghoon Son wrote:
> clkname "clk_uart_baud" already 13 byte, so compiler warns
> drivers/tty/serial/samsung_tty.c:1392:17: note: ‘sprintf’ output between 15 and 17 bytes into a destination of size 15

But that's not true. We do not write there more than 15, including
terminating NULL byte, right?

Or you just sent whatever is there to silence warning?

Best regards,
Krzysztof





[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