Fix the following warning:

drivers/gpu/drm/ati_pcigart.c: In function ‘drm_ati_pcigart_init’:
drivers/gpu/drm/ati_pcigart.c:115: warning: format ‘%Lx’ expects type ‘long 
long unsigned int’, but argument 3 has type ‘dma_addr_t’

Signed-off-by: Borislav Petkov <petko...@gmail.com>
---
 drivers/gpu/drm/ati_pcigart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/ati_pcigart.c b/drivers/gpu/drm/ati_pcigart.c
index a1fce68..a631e19 100644
--- a/drivers/gpu/drm/ati_pcigart.c
+++ b/drivers/gpu/drm/ati_pcigart.c
@@ -113,7 +113,7 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct 
drm_ati_pcigart_info *ga
 
                if (pci_set_dma_mask(dev->pdev, gart_info->table_mask)) {
                        DRM_ERROR("fail to set dma mask to 0x%Lx\n",
-                                 gart_info->table_mask);
+                                 (u64)gart_info->table_mask);
                        ret = 1;
                        goto done;
                }
-- 
1.6.6


-- 
Regards/Gruss,
    Boris.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to