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]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux