diff options
| author | Arnd Bergmann <[email protected]> | 2017-04-19 14:15:32 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-05-18 07:24:46 -0300 |
| commit | 5c621744b4270976f2dba71c49d92883afaf1604 (patch) | |
| tree | f71838bc06c05e6dcfe234160b4f7f6d3149bc84 /tools/perf/scripts/python | |
| parent | 0f7c4063f8cd78b1a1e4858be39d3144cf7315dc (diff) | |
[media] rainshadow-cec: use strlcat instead of strncat
gcc warns about an obviously incorrect use of strncat():
drivers/media/usb/rainshadow-cec/rainshadow-cec.c: In function 'rain_cec_adap_transmit':
drivers/media/usb/rainshadow-cec/rainshadow-cec.c:299:4: error: specified bound 48 equals the size of the destination [-Werror=stringop-overflow=]
It seems that strlcat was intended here, and using that makes the
code correct.
Fixes: 0f314f6c2e77 ("[media] rainshadow-cec: new RainShadow Tech HDMI CEC driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions