drm/amdkfd: Check for potential null return of kmalloc_array()
authorjsg <jsg@openbsd.org>
Thu, 21 Apr 2022 09:47:25 +0000 (09:47 +0000)
committerjsg <jsg@openbsd.org>
Thu, 21 Apr 2022 09:47:25 +0000 (09:47 +0000)
commit01a0a85a4e0fb4c12f9fa644584090fbd35d5a29
tree1aef5fa4cd1a0640c6bbbb565efa5044454ae51e
parenta7a3cc44d774591694770d6b8fb3e0f4da0c604b
drm/amdkfd: Check for potential null return of kmalloc_array()

From QintaoShen
f2658d5966bcee8c3eb487875f459756d4f7cdfc in linux 5.15.y/5.15.35
ebbb7bb9e80305820dc2328a371c1b35679f2667 in mainline linux
sys/dev/pci/drm/amd/amdkfd/kfd_events.c