Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7748bac authored by Randy Dunlap's avatar Randy Dunlap Committed by Dave Airlie
Browse files

ati_pcigart: fix printk format warning



Fix ati_pcigart printk format warning:

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 9e5b2af7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)) {
		if (pci_set_dma_mask(dev->pdev, gart_info->table_mask)) {
			DRM_ERROR("fail to set dma mask to 0x%Lx\n",
			DRM_ERROR("fail to set dma mask to 0x%Lx\n",
				  gart_info->table_mask);
				  (unsigned long long)gart_info->table_mask);
			ret = 1;
			ret = 1;
			goto done;
			goto done;
		}
		}