Re: [PATCH 2/7] media: cadence: increase buffer size in csi2tx_get_resources()

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

 



On Fri, 22 Sep 2023 12:50:31 +0200, Hans Verkuil wrote:
> Fixes this compiler warning:
> 
> drivers/media/platform/cadence/cdns-csi2tx.c: In function 'csi2tx_get_resources':
> drivers/media/platform/cadence/cdns-csi2tx.c:485:63: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=]
>   485 |                 snprintf(clk_name, sizeof(clk_name), "pixel_if%u_clk", i);
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard@xxxxxxxxxx>

Thanks!
Maxime



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux