drm/amd/display: Use NULL pointer instead of plain integer
authorMagali Lemes <magalilemes00@gmail.com>
Wed, 2 Feb 2022 21:38:56 +0000 (18:38 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Feb 2022 23:28:06 +0000 (18:28 -0500)
commit7e2ec174945fa98048b39baf2a87973eddca3241
tree05b8f3214a86f2e75a2114df5372f995d8eec467
parent5d64f9bbb6281a5a89a2266b9d39daa1fca1d6b4
drm/amd/display: Use NULL pointer instead of plain integer

Assigning 0L to a pointer variable caused the following warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dsc/rc_calc_fpu.c:71:40:
warning: Using plain integer as NULL pointer

In order to remove this warning, this commit assigns a NULL pointer to
the pointer variable that caused this issue.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Magali Lemes <magalilemes00@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.c