linux/drivers/media/platform/ti
Hans Verkuil bd6ef41067 media: am437x: don't fill in bus_info
Let the V4L2 core fill this in.

This fixes this warning:

drivers/media/platform/ti/am437x/am437x-vpfe.c: In function 'vpfe_querycap':
drivers/media/platform/ti/am437x/am437x-vpfe.c:1279:35: warning: '%s' directive output may be truncated writing up to 35 bytes into a region of size 23 [-Wformat-truncation=]
 1279 |                         "platform:%s", vpfe->v4l2_dev.name);
      |                                   ^~
drivers/media/platform/ti/am437x/am437x-vpfe.c:1278:9: note: 'snprintf' output between 10 and 45 bytes into a destination of size 32
 1278 |         snprintf(cap->bus_info, sizeof(cap->bus_info),
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1279 |                         "platform:%s", vpfe->v4l2_dev.name);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
2023-09-27 10:47:23 +02:00
..
am437x media: am437x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
cal media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
davinci media: davinci: vpif_capture: fix error return code in vpif_probe() 2023-08-14 20:27:55 +02:00
omap media: omap_vout: Convert to platform remove callback returning void 2023-04-11 16:59:19 +02:00
omap3isp media: use sizeof() instead of V4L2_SUBDEV_NAME_SIZE 2023-09-27 10:47:22 +02:00
vpe media: vpe: Convert to platform remove callback returning void 2023-04-11 16:59:19 +02:00
Kconfig media: platform: Create vendor/{Makefile,Kconfig} files 2022-03-18 05:58:35 +01:00
Makefile media: platform: Create vendor/{Makefile,Kconfig} files 2022-03-18 05:58:35 +01:00