summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-09-07 14:10:27 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 12:09:34 -0200
commit211eba9e791e6f6f4c5945b7fabc1dba150075e4 (patch)
treefd5b20ed9a05cc28325773f428dc092606e479e4 /include/uapi/linux
parent67712beb2df027ff36ff6d19b1aeb1af213fac04 (diff)
[media] VPU: mediatek: fix null pointer dereference on pdev
pdev is being null checked, however, prior to that it is being dereferenced by platform_get_drvdata. Move the assignments of vpu and run to after the pdev null check to avoid a potential null pointer dereference. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Tiffany Lin <tiffany.lin@mediatek.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions