]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dc.c:use kzalloc without test
authorzhongshiqi <zhong.shiqi@zte.com.cn>
Wed, 23 Oct 2019 08:32:23 +0000 (16:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:56:16 +0000 (11:56 -0400)
commit364593f3ee5fdefc6efd89475e1804c928b4e6ba
treee3b9c58c1acfa36848718d5e283fa3195da25727
parent385857adb8154563840e5b0f200254126618f464
dc.c:use kzalloc without test

dc.c:583:null check is needed after using kzalloc function

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: zhongshiqi <zhong.shiqi@zte.com.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c