Re: [PATCH][V2] drm/msm/a5xx: remove null pointer check on pdev

2024-11-14 Thread Konrad Dybcio
On 12.11.2024 7:22 PM, Colin Ian King wrote: > The call chain on a5xx_gpu_init is such that pdev is not going to be > null, so the null check on pdev can be removed. This also cleans up > a static analysis warning where pdev is dereferenced before the null > check which cannot actually occur. > >

Re: [PATCH][V2] drm/msm/a5xx: remove null pointer check on pdev

2024-11-12 Thread Akhil P Oommen
On 11/12/2024 11:52 PM, Colin Ian King wrote: > The call chain on a5xx_gpu_init is such that pdev is not going to be > null, so the null check on pdev can be removed. This also cleans up > a static analysis warning where pdev is dereferenced before the null > check which cannot actually occur. > >

[PATCH][V2] drm/msm/a5xx: remove null pointer check on pdev

2024-11-12 Thread Colin Ian King
The call chain on a5xx_gpu_init is such that pdev is not going to be null, so the null check on pdev can be removed. This also cleans up a static analysis warning where pdev is dereferenced before the null check which cannot actually occur. Signed-off-by: Colin Ian King --- V2: rewrite Subject,