]> git.baikalelectronics.ru Git - kernel.git/commit
media: venus: remove invalid compat_ioctl32 handler
authorArnd Bergmann <arnd@arndb.de>
Wed, 6 Nov 2019 09:06:54 +0000 (10:06 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 9 Nov 2019 08:08:30 +0000 (09:08 +0100)
commitf76e3d8a0d6cd69ec4b7dff7365a3897221f1b24
treeb90ff0771a42070e995d6e2c2252cb6cd6975565
parentc5d8123109be12ab479b2689bdb4fa9702a58daa
media: venus: remove invalid compat_ioctl32 handler

v4l2_compat_ioctl32() is the function that calls into
v4l2_file_operations->compat_ioctl32(), so setting that back to the same
function leads to a trivial endless loop, followed by a kernel
stack overrun.

Remove the incorrect assignment.

Cc: stable@vger.kernel.org
Fixes: f9675b152242 ("[media] media: venus: vdec: add video decoder files")
Fixes: ad324354624e ("[media] media: venus: venc: add video encoder files")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/qcom/venus/vdec.c
drivers/media/platform/qcom/venus/venc.c