aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-10-06 08:21:04 +0000
committerMark Brown <[email protected]>2023-10-09 12:13:53 +0000
commitc6df843348d6b71ea986266c12831cb60c2cf325 (patch)
tree4e5e25e0d59f3c2538c3428124cad853d87d7f6a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentregmap: rbtree: Fix wrong register marked as in-cache when creating new node (diff)
downloadkernel-c6df843348d6b71ea986266c12831cb60c2cf325.tar.gz
kernel-c6df843348d6b71ea986266c12831cb60c2cf325.zip
regmap: fix NULL deref on lookup
Not all regmaps have a name so make sure to check for that to avoid dereferencing a NULL pointer when dev_get_regmap() is used to lookup a named regmap. Fixes: e84861fec32d ("regmap: dev_get_regmap_match(): fix string comparison") Cc: [email protected] # 5.8 Cc: Marc Kleine-Budde <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions