]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Uninitialized pointer read
authorAndrew Martin <Andrew.Martin@amd.com>
Fri, 6 Dec 2024 19:52:34 +0000 (14:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:39:11 +0000 (10:39 -0500)
commit7ecc7329c4ddeb42041a2bd95b8c1b6e17e5ea8d
treea53fc5e666c90889442997bce5e1b995fbc6fecc
parent00cace8b549a5eec2459eb7446b5e39f26268288
drm/amdkfd: Uninitialized pointer read

This a pointer that is being passed into other functions, so it is best to
initialize it to NULL prior.

Signed-off-by: Andrew Martin <Andrew.Martin@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c