diff options
| author | Ma Ke <make24@iscas.ac.cn> | 2024-06-26 16:06:50 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-28 00:33:36 +0300 |
| commit | c96140000915b610d86f941450e15ca552de154a (patch) | |
| tree | 29d1d14cb48a620248311e18e53d61ed151a93db /drivers/usb/cdns3/cdns3-debug.h | |
| parent | b17eecc08fba0c1d256f9a78fe13e5e568fe7081 (diff) | |
| download | linux-c96140000915b610d86f941450e15ca552de154a.tar.xz | |
drm/amd/display: Add null check before access structs
In enable_phantom_plane, we should better check null pointer before
accessing various structs.
Fixes: 09a4ec5da92c ("drm/amd/display: Refactor dc_state interface")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
