]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix ARM compilation warning
authorLuben Tuikov <luben.tuikov@amd.com>
Wed, 16 Feb 2022 21:47:32 +0000 (16:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Feb 2022 20:59:05 +0000 (15:59 -0500)
commitf98ab6b186b0f9f49bd84af330304bcb56373e58
tree40aabdaa949087d69d782e2074f963193eaa94ad
parent382805d9046dede43d60c60b9fe59514ad8750bf
drm/amdgpu: Fix ARM compilation warning

Fix this ARM warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:664:35: warning: format '%ld'
expects argument of type 'long int', but argument 4 has type 'size_t' {aka
'unsigned int'} [-Wformat=]

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: kbuild-all@lists.01.org
Cc: linux-kernel@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 43222aa52382 ("drm/amdgpu: Show IP discovery in sysfs")
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Acked-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c