Searched hist:"37272 d21cec670e27f0a2e3117bb5116b2d6ca2d" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/media/platform/renesas/ |
H A D | rcar_drif.c | diff 37272d21cec670e27f0a2e3117bb5116b2d6ca2d Sat Sep 23 17:21:01 CEST 2023 Hans Verkuil <hverkuil-cisco@xs4all.nl> media: rcar_drif: use explicit name for bus_info
Fixes this compiler warning:
drivers/media/platform/renesas/rcar_drif.c: In function 'rcar_drif_querycap': drivers/media/platform/renesas/rcar_drif.c:874:66: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 23 [-Wformat-truncation=] 874 | snprintf(cap->bus_info, sizeof(cap->bus_info), "platform:%s", | ^~ drivers/media/platform/renesas/rcar_drif.c:874:9: note: 'snprintf' output between 10 and 73 bytes into a destination of size 32 874 | snprintf(cap->bus_info, sizeof(cap->bus_info), "platform:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | sdr->vdev->name); | ~~~~~~~~~~~~~~~~
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|