Re: [PATCH -next] drm/amdkfd: Fix NULL but dereferenced coccicheck error

2022-02-09 Thread Felix Kuehling
On 2022-02-08 20:39, Yang Li wrote: Eliminate the following coccicheck warning: ./drivers/gpu/drm/amd/amdkfd/kfd_chardev.c:2087:27-38: ERROR: bo_buckets is NULL but dereferenced. Reported-by: Abaci Robot Signed-off-by: Yang Li Thank you. I already picket up Tom Rix's patch for the same iss

[PATCH -next] drm/amdkfd: Fix NULL but dereferenced coccicheck error

2022-02-08 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/gpu/drm/amd/amdkfd/kfd_chardev.c:2087:27-38: ERROR: bo_buckets is NULL but dereferenced. Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)