On 3/24/2022 2:15 AM, xkernel.w...@foxmail.com wrote:
From: Xiaoke Wang
kzalloc() is a memory allocation function which can return NULL when
some internal memory errors happen. So it is better to check it to
prevent potential wrong memory access.
Signed-off-by: Xiaoke Wang
Reviewed-by:
From: Xiaoke Wang
kzalloc() is a memory allocation function which can return NULL when
some internal memory errors happen. So it is better to check it to
prevent potential wrong memory access.
Signed-off-by: Xiaoke Wang
---
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c | 2 ++
1 file