The patch titled mfd/htc-egpio: fix iomem resource handling using resource_size has been removed from the -mm tree. Its filename was mfd-htc-egpio-fix-iomem-resource-handling-using-resource_size.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mfd/htc-egpio: fix iomem resource handling using resource_size From: Philipp Zabel <philipp.zabel@xxxxxxxxx> Fix an off-by-one error in the iomem resource mapping. Signed-off-by: Philipp Zabel <philipp.zabel@xxxxxxxxx> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/mfd/htc-egpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/mfd/htc-egpio.c~mfd-htc-egpio-fix-iomem-resource-handling-using-resource_size drivers/mfd/htc-egpio.c --- a/drivers/mfd/htc-egpio.c~mfd-htc-egpio-fix-iomem-resource-handling-using-resource_size +++ a/drivers/mfd/htc-egpio.c @@ -286,7 +286,7 @@ static int __init egpio_probe(struct pla res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!res) goto fail; - ei->base_addr = ioremap_nocache(res->start, res->end - res->start); + ei->base_addr = ioremap_nocache(res->start, resource_size(res)); if (!ei->base_addr) goto fail; pr_debug("EGPIO phys=%08x virt=%p\n", (u32)res->start, ei->base_addr); _ Patches currently in -mm which might be from philipp.zabel@xxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html