summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorshayderrr <darknessshayder@gmail.com>2026-05-17 20:04:56 +0300
committerThierry Reding <treding@nvidia.com>2026-05-28 18:19:28 +0300
commit71d25f668bc5c0f36ea843462e12307dea45aaa3 (patch)
tree38599a2884d4c3f55da62315c3c3626b3fa12932 /include
parent05a07a31deda59b60483b5359b5c0ccb693d7311 (diff)
downloadlinux-71d25f668bc5c0f36ea843462e12307dea45aaa3.tar.xz
host1x: bus: Fix missing ops null check in error teardown
In host1x_device_init(), the error teardown paths do not check client->ops before dereferencing it, unlike the forward init paths which correctly guard with 'client->ops &&'. This can result in a NULL pointer dereference if client->ops is NULL. Fix by adding the missing client->ops check in both the teardown and teardown_late labels. Signed-off-by: shayderrr <darknessshayder@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patch.msgid.link/20260517170456.84927-1-darknessshayder@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions