Commit bd9e6f4
committed
drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
jira LE-3201
cve CVE-2023-52817
Rebuild_History Non-Buildable kernel-rt-4.18.0-553.22.1.rt7.363.el8_10
commit-author Alex Deucher <alexander.deucher@amd.com>
commit afe5834
Should be -EOPNOTSUPP.
Fixes: 5104fdf ("drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit afe5834)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent 49b5c7d commit bd9e6f4
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
| 593 | + | |
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
| 652 | + | |
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| |||
0 commit comments