diff options
| author | Wenjing Liu <wenjing.liu@amd.com> | 2026-01-20 22:40:07 +0000 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-02-03 16:40:06 -0500 |
| commit | 9d6bd60695806782bec8562ab73aefafce067f05 (patch) | |
| tree | 3152c116daf6fd6f2f5f8fdb9c110378b10abf77 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | e121ccca8a4a5dd6fb5d395de6ef31ebfce7fb38 (diff) | |
drm/amd/display: Fix a NULL pointer dereference in dcn20_hwseq.c
[why]
hws->funcs.dccg_init is accessed without checking if it is NULL, which
may lead to a NULL pointer dereference.
[how]
Add a NULL check before calling dccg_init.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
