Re: [PATCH 3/3] sdhci-pltfm: Do not print errors in case of anextended iomem size

From: Andrew Morton
Date: Mon Mar 22 2010 - 15:31:26 EST


On Wed, 17 Mar 2010 07:02:52 +0100
Richard R__jfors <richard.rojfors@xxxxxxxxxxxxxx> wrote:

> On 3/16/10 7:34 PM, Anton Vorontsov wrote:
> > Some hosts have an extended SDHCI iomem size, so the driver should
> > only print errors if the iomem size is less than 0x100.
>
> With this change you allow a bigger resource than we really need.
> I think you should also change request_mem_region and ioremap to only
> request and map the actual needed size. (0x100)

I merged these three with a note-to-self that some updates are expected
(hint).

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/