aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-11-08 10:40:21 +0300
committerDanilo Krummrich <dakr@redhat.com>2023-11-14 22:40:25 +0100
commit42bd415bd8bd43721d423930b4695c565661e687 (patch)
tree66793ed871d230df248ef938a05183914376686a /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnouveau/gsp/r535: uninitialized variable in r535_gsp_acpi_mux_id() (diff)
downloadwireguard-linux-42bd415bd8bd43721d423930b4695c565661e687.tar.xz
wireguard-linux-42bd415bd8bd43721d423930b4695c565661e687.zip
nouveau/gsp/r535: Fix a NULL vs error pointer bug
The r535_gsp_cmdq_get() function returns error pointers but this code checks for NULL. Also we need to propagate the error pointer back to the callers in r535_gsp_rpc_get(). Returning NULL will lead to a NULL pointer dereference. Fixes: 176fdcbddfd2 ("drm/nouveau/gsp/r535: add support for booting GSP-RM") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Danilo Krummrich <dakr@redhat.com> Signed-off-by: Danilo Krummrich <dakr@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/f71996d9-d1cb-45ea-a4b2-2dfc21312d8c@kili.mountain
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions