RE: [PATCH 4/4 V2] drm/admgpu: fix dereferencing null pointer context

2024-05-21 Thread Huang, Tim
m ; Zhang, > Jesse(Jie) ; Zhang, Jesse(Jie) > > Subject: [PATCH 4/4 V2] drm/admgpu: fix dereferencing null pointer context > > When user space sets an invalid ta type, the pointer context will be empty. > So it need to check the pointer context before using it > > Signed-off-

[PATCH 4/4 V2] drm/admgpu: fix dereferencing null pointer context

2024-05-21 Thread Jesse Zhang
When user space sets an invalid ta type, the pointer context will be empty. So it need to check the pointer context before using it Signed-off-by: Jesse Zhang Suggested-by: Tim Huang --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git