summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-04-23 08:37:39 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-23 05:30:47 -0400
commit63d171f85fb15247600bdd38b1dbf72bcba0dc8a (patch)
treef40868c055d189a0d6a0992c1e99928b69d5da35 /include/uapi/linux
parent00ccd263ee085c7428e2a1102c2f39e4a6927978 (diff)
downloadcachepc-linux-63d171f85fb15247600bdd38b1dbf72bcba0dc8a.tar.gz
cachepc-linux-63d171f85fb15247600bdd38b1dbf72bcba0dc8a.zip
media: cec: cec_transmit_msg_fh: do sanity checks first
The code that fills in the CEC_MSG_CDC_MESSAGE physical address is now done after the sanity checks. It also only does this if the message length is >= 4 (i.e. there is room for the physical address). Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions