Skip to content
Snippets Groups Projects
Commit 552e7938 authored by Hersen Wu's avatar Hersen Wu Committed by Greg Kroah-Hartman
Browse files

drm/amd/display: Add NULL pointer check for kzalloc


commit 8e65a1b7 upstream.

[Why & How]
Check return pointer of kzalloc before using it.

Reviewed-by: default avatarAlex Hung <alex.hung@amd.com>
Acked-by: default avatarWayne Lin <wayne.lin@amd.com>
Signed-off-by: default avatarHersen Wu <hersenxs.wu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarWenshan Lan <jetlan9@163.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f81302de
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment