aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/savage/savage_bci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/savage/savage_bci.c')
-rw-r--r--drivers/gpu/drm/savage/savage_bci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/savage/savage_bci.c b/drivers/gpu/drm/savage/savage_bci.c
index d465b2f9c1cd..456cd040f31a 100644
--- a/drivers/gpu/drm/savage/savage_bci.c
+++ b/drivers/gpu/drm/savage/savage_bci.c
@@ -599,8 +599,8 @@ int savage_driver_firstopen(struct drm_device *dev)
599 drm_mtrr_add(dev_priv->mtrr[2].base, 599 drm_mtrr_add(dev_priv->mtrr[2].base,
600 dev_priv->mtrr[2].size, DRM_MTRR_WC); 600 dev_priv->mtrr[2].size, DRM_MTRR_WC);
601 } else { 601 } else {
602 DRM_ERROR("strange pci_resource_len %08lx\n", 602 DRM_ERROR("strange pci_resource_len %08llx\n",
603 drm_get_resource_len(dev, 0)); 603 (unsigned long long)drm_get_resource_len(dev, 0));
604 } 604 }
605 } else if (dev_priv->chipset != S3_SUPERSAVAGE && 605 } else if (dev_priv->chipset != S3_SUPERSAVAGE &&
606 dev_priv->chipset != S3_SAVAGE2000) { 606 dev_priv->chipset != S3_SAVAGE2000) {
@@ -620,8 +620,8 @@ int savage_driver_firstopen(struct drm_device *dev)
620 drm_mtrr_add(dev_priv->mtrr[0].base, 620 drm_mtrr_add(dev_priv->mtrr[0].base,
621 dev_priv->mtrr[0].size, DRM_MTRR_WC); 621 dev_priv->mtrr[0].size, DRM_MTRR_WC);
622 } else { 622 } else {
623 DRM_ERROR("strange pci_resource_len %08lx\n", 623 DRM_ERROR("strange pci_resource_len %08llx\n",
624 drm_get_resource_len(dev, 1)); 624 (unsigned long long)drm_get_resource_len(dev, 1));
625 } 625 }
626 } else { 626 } else {
627 mmio_base = drm_get_resource_start(dev, 0); 627 mmio_base = drm_get_resource_start(dev, 0);