diff options
author | 2021-11-17 10:45:23 +0100 | |
---|---|---|
committer | 2021-11-29 15:17:51 +0100 | |
commit | f927767978d201d4ac023fcd797adbb963a6565d (patch) | |
tree | 89f639ee57dedacc1cacc7e88d5ca6281cc7bf8e /scripts/gdb/linux/utils.py | |
parent | drm/vc4: kms: Wait for the commit before increasing our clock rate (diff) | |
download | wireguard-linux-f927767978d201d4ac023fcd797adbb963a6565d.tar.xz wireguard-linux-f927767978d201d4ac023fcd797adbb963a6565d.zip |
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 <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Tested-by: Jian-Hong Pan <jhp@endlessos.org>
Link: https://lore.kernel.org/r/20211117094527.146275-3-maxime@cerno.tech
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions