Content-Type: multipart/mixed; boundary="===============5881828869743709726==" MIME-Version: 1.0 From: Luben Tuikov To: kbuild-all@lists.01.org Subject: [PATCH] drm/amdgpu: Fix ARM compilation warning Date: Wed, 16 Feb 2022 17:08:53 -0500 Message-ID: <20220216220853.59961-1-luben.tuikov@amd.com> In-Reply-To: <202202160733.1Egjqp9Y-lkp@intel.com> List-Id: --===============5881828869743709726== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=3D] Cc: Alex Deucher Cc: kbuild-all(a)lists.01.org Cc: linux-kernel(a)vger.kernel.org Reported-by: kernel test robot Fixes: 7e60fbfbdc10a0 ("drm/amdgpu: Show IP discovery in sysfs") Signed-off-by: Luben Tuikov --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/dr= m/amd/amdgpu/amdgpu_discovery.c index ad2355b0037f52..6c3a3c74e0231f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -668,7 +668,7 @@ static int amdgpu_discovery_sysfs_ips(struct amdgpu_dev= ice *adev, le16_to_cpu(ip->hw_id) !=3D ii) goto next_ip; = - DRM_DEBUG("match:%d @ ip_offset:%ld", ii, ip_offset); + DRM_DEBUG("match:%d @ ip_offset:%zu", ii, ip_offset); = /* We have a hw_id match; register the hw * block if not yet registered. base-commit: f723076ae13011a23d9a586899e38bc68feeb6b2 -- = 2.35.1.129.gb80121027d --===============5881828869743709726==--