diff options
author | Dan Carpenter <[email protected]> | 2023-11-08 10:40:21 +0300 |
---|---|---|
committer | Danilo Krummrich <[email protected]> | 2023-11-14 22:40:25 +0100 |
commit | 42bd415bd8bd43721d423930b4695c565661e687 (patch) | |
tree | 66793ed871d230df248ef938a05183914376686a /scripts/generate_rust_analyzer.py | |
parent | 09f12bf9f790052710bd6e48a1fc1bc4d9e17389 (diff) |
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 <[email protected]>
Reviewed-by: Danilo Krummrich <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions