]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Fix a couple of 64-bit build warnings
authorThierry Reding <treding@nvidia.com>
Thu, 9 Apr 2015 14:39:51 +0000 (16:39 +0200)
committerRob Clark <robdclark@gmail.com>
Thu, 14 May 2015 15:19:25 +0000 (11:19 -0400)
commit505aac6ae479e8e7b3ec2adc6e13631c4d0dfb8c
tree077f0094ac7db90d2a86c73f9b99bdb47ef2825a
parent3846d26b4a7025910ddd6d65d13ace72e335546f
drm/msm: Fix a couple of 64-bit build warnings

Avoid casts from pointers to fixed-size integers to prevent the compiler
from warning. Print virtual memory addresses using %p instead. Also turn
a couple of %d/%x specifiers into %zu/%zd/%zx to avoid further warnings
due to mismatched format strings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/edp/edp_aux.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_iommu.c