Re: [PATCH] drm/amd/display: use NULL instead of using plain integer as pointer

2022-03-23 Thread Alex Deucher
Thanks for the patches. I've already applied fixes from others for these issues. Alex On Tue, Mar 22, 2022 at 9:05 AM Haowen Bai wrote: > > This fixes the following sparse warnings: > drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dsc/rc_calc_fpu.c:71:40: > warning: Using > plain integer as NULL

[PATCH] drm/amd/display: use NULL instead of using plain integer as pointer

2022-03-23 Thread Haowen Bai
This fixes the following sparse warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:865:16: warning: Using plain integer as NULL pointer Signed-off-by: Haowen Bai --- drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[PATCH] drm/amd/display: use NULL instead of using plain integer as pointer

2022-03-23 Thread Haowen Bai
This fixes the following sparse warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dsc/rc_calc_fpu.c:71:40: warning: Using plain integer as NULL pointer Signed-off-by: Haowen Bai --- drivers/gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] drm/amd/display: use NULL instead of using plain integer as pointer

2022-03-23 Thread Haowen Bai
This fixes the following sparse warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1910:16: warning: Using plain integer as NULL pointer Signed-off-by: Haowen Bai --- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff