[PATCH 5.16 0822/1039] drm/amdkfd: Check for null pointer after calling kmemdup