summaryrefslogtreecommitdiff
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-23 17:20:52 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 10:47:22 +0200
commit7ba5e7b78b068e212c85926723990482ee7b1962 (patch)
tree53d3a13b741de32a5bf9f5bfd29ac66136c068c7 /Documentation/i2c
parentb05aba9fffd21bdf8168c7db8c2cd40e9d347f13 (diff)
media: cec.h: increase input_phys buffer
Fixes this compiler warning: drivers/media/cec/core/cec-core.c: In function 'cec_allocate_adapter': drivers/media/cec/core/cec-core.c:317:21: warning: '/input0' directive output may be truncated writing 7 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 317 | "%s/input0", adap->name); | ^~~~~~~ drivers/media/cec/core/cec-core.c:316:9: note: 'snprintf' output between 8 and 39 bytes into a destination of size 32 316 | snprintf(adap->input_phys, sizeof(adap->input_phys), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 317 | "%s/input0", adap->name); | ~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions