aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2021-11-17 10:45:23 +0100
committerMaxime Ripard <[email protected]>2021-11-29 15:17:51 +0100
commitf927767978d201d4ac023fcd797adbb963a6565d (patch)
tree89f639ee57dedacc1cacc7e88d5ca6281cc7bf8e /lib/mpi
parent0c980a006d3fbee86c4d0698f66d6f5381831787 (diff)
drm/vc4: kms: Fix return code check
The HVS global state functions return an error pointer, but in most cases we check if it's NULL, possibly resulting in an invalid pointer dereference. Fixes: 9ec03d7f1ed3 ("drm/vc4: kms: Wait on previous FIFO users before a commit") Signed-off-by: Maxime Ripard <[email protected]> Reviewed-by: Dave Stevenson <[email protected]> Tested-by: Jian-Hong Pan <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions