diff options
| author | 2023-05-24 13:11:47 +0100 | |
|---|---|---|
| committer | 2023-06-09 16:08:36 +0100 | |
| commit | 3df55cd773e8603b623425cc97b05e542854ad27 (patch) | |
| tree | ef0cc99c98cedc21ade054e407daab5564a37e62 /scripts/Makefile.thinlto | |
| parent | media: platform: renesas-ceu: drop buf NULL check (diff) | |
media: platform: mediatek: vpu: fix NULL ptr dereference
If pdev is NULL, then it is still dereferenced.
This fixes this smatch warning:
drivers/media/platform/mediatek/vpu/mtk_vpu.c:570 vpu_load_firmware() warn: address of NULL pointer 'pdev'
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Yunfei Dong <yunfei.dong@mediatek.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
