diff options
author | Wenjing Liu <[email protected]> | 2024-03-12 15:31:59 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-03-27 09:26:17 -0400 |
commit | fe869c2e53484a29ab241667606240b91db920ef (patch) | |
tree | f8a228a9c231560ca86e1d60f9b2b7cee7162110 /lib/memory-notifier-error-inject.c | |
parent | 25358e04a43c33e6cd8dce528da1d624de915864 (diff) |
drm/amd/display: fix a dereference of a NULL pointer
[why&how]
In some platform out_transfer_func may not be popualted. We need to check
for null before dereferencing it.
Fixes: d2dea1f14038 ("drm/amd/display: Generalize new minimal transition path")
Reviewed-by: Alvin Lee <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions