diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-04-28 15:35:58 +0800 |
|---|---|---|
| committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2026-05-13 14:37:54 -0700 |
| commit | b5c7a7f452b885bfbe102bd3a057a5f496802f8b (patch) | |
| tree | 125da4e40ee2e7a20c52f762d6a2f203b1cb6012 /rust/kernel/alloc/allocator | |
| parent | 55e0f0d1c1a4ee1e46da7da4d443eb3044fb3851 (diff) | |
drm/msm/a6xx: Check kzalloc return in a8xx_hfi_send_perf_table
Check the return value of kzalloc() to prevent a NULL pointer
dereference on allocation failure.
Fixes: 06cfbca0e1c6 ("drm/msm/a6xx: Share dependency vote table with GMU")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/721342/
Message-ID: <20260428073558.1234238-1-nichen@iscas.ac.cn>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
