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)
commitfc99f97af2f79be02c5045c9a02c50bdcc0c8ff8
tree077f0094ac7db90d2a86c73f9b99bdb47ef2825a
parent332545b3016cbff066c17037d32ec8aae8e4cfb5
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