diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2025-07-24 15:00:43 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-18 16:57:56 -0400 |
| commit | 1e5e8d672fec9f2ab352be121be971877bff2af9 (patch) | |
| tree | 06ed6ffc7d7d39f86a7f9c9096b70a8c2e4df7fd /scripts/lib/kdoc/kdoc_re.py | |
| parent | a928f8d542ccd1e40e101cffc923ff33e36bf147 (diff) | |
drm/amd/display: Avoid a NULL pointer dereference
[WHY]
Although unlikely drm_atomic_get_new_connector_state() or
drm_atomic_get_old_connector_state() can return NULL.
[HOW]
Check returns before dereference.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
