diff options
| author | 2026-06-28 16:17:01 +1000 | |
|---|---|---|
| committer | 2026-07-08 14:20:29 -0400 | |
| commit | f3f622b43edc86a4ae00f521789a5d24bb71a761 (patch) | |
| tree | 87cf3241e6a0484e6cce7ec890675a8fdfa5a263 /scripts/Makefile.thinlto | |
| parent | drm/amdgpu/jpeg: deduplicate jpeg_v5_3_0 process_interrupt (diff) | |
drm/amdgpu/mes: Add NULL check for mes_hung_db_array allocation
kcalloc but does not check for failure. If the allocation fails, the
pointer remains NULL but the function returns success. Subsequent code
using this buffer will dereference a NULL pointer, causing a kernel
oops. Add a check to return -ENOMEM if the allocation fails.
Signed-off-by: Geoffrey McRae <geoffrey.mcrae@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
