summaryrefslogtreecommitdiff
path: root/kernel/kexec_core.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-07-16 12:59:18 (GMT)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-19 16:24:09 (GMT)
commit4eef404fd91543dc82be2bd05d3b29919ec6c0e6 (patch)
treed61d02b734d25083e2827b4f41d9f261fa610d05 /kernel/kexec_core.c
parent40df3a7e586df59190547fe0e7d9928da735eada (diff)
downloadlinux-4eef404fd91543dc82be2bd05d3b29919ec6c0e6.tar.xz
[media] cec: don't set fh to NULL in CEC_TRANSMIT
The filehandle was set to NULL when in non-blocking mode or when no reply is needed. This is wrong: the filehandle is needed in non-blocking mode to ensure that the result of the transmit can be obtained through CEC_RECEIVE. And the 'reply' check was also incorrect since it should have checked the timeout field (the reply can be 0). In any case, when in blocking mode there is no need to set the fh to NULL either. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'kernel/kexec_core.c')
0 files changed, 0 insertions, 0 deletions