summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/syscon.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2019-11-06 12:11:14 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-04 13:34:15 +0100
commitc545c6a2ce4fa83556e261b4d8a47ebf355c7f7e (patch)
tree3bf7e43cfc22afcf4161201ef9cfbccf806a10c6 /include/linux/platform_data/syscon.h
parent6007b4f1efc78ca7c9bb7ed36d4f2f360fb06053 (diff)
media: pvrusb2: Fix oops on tear-down when radio support is not present
[ Upstream commit 7f404ae9cf2a285f73b3c18ab9303d54b7a3d8e1 ] In some device configurations there's no radio or radio support in the driver. That's OK, as the driver sets itself up accordingly. However on tear-down in these caes it's still trying to tear down radio related context when there isn't anything there, leading to dereferences through a null pointer and chaos follows. How this bug survived unfixed for 11 years in the pvrusb2 driver is a mystery to me. [hverkuil: fix two checkpatch warnings] Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/platform_data/syscon.h')
0 files changed, 0 insertions, 0 deletions