Subject: Re: [PATCH 1/3] drm: Use resource_size_t for drm_get_resource_{start, len}

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 03 Feb 2009 07:36:28 +1100

>    2009-02-02 14:16:04.000000000 +1100
> > @@ -599,8 +599,8 @@ int savage_driver_firstopen(struct drm_d
> >                            drm_mtrr_add(dev_priv->mtrr[2].base,
> >                                         dev_priv->mtrr[2].size, DRM_MTRR_WC);
> >                } else {
> > -                       DRM_ERROR("strange pci_resource_len %08lx\n",
> > -                                 drm_get_resource_len(dev, 0));
> > +                       DRM_ERROR("strange pci_resource_len %08llx\n",
> > +                                 (unsigned long long)drm_get_resource_len(dev, 0));
> 
> Don't we have a printk specifier for this now?

If we do I've missed it. We have a specifier for a struct resource *,
but not for an individual resource_size_t afaik.

Cheers,
Ben.