diff options
| author | Hans Verkuil <[email protected]> | 2023-09-23 17:21:01 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-09-27 10:47:23 +0200 |
| commit | 37272d21cec670e27f0a2e3117bb5116b2d6ca2d (patch) | |
| tree | 0327a4ff29c6b2f57bc6ec02bc1e15aaf7c8eb3c /tools/perf/scripts/python/netdev-times.py | |
| parent | 4ebdec2aeed3362c5920468f7dbf11883f72ac33 (diff) | |
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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions