The patch titled drivers/block/mg_disk.c: use resource_size() has been removed from the -mm tree. Its filename was drivers-block-mg_diskc-use-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: drivers/block/mg_disk.c: use resource_size() From: "H Hartley Sweeten" <hartleys@xxxxxxxxxxxxxxxxxxx> Use resource_size() for ioremap. The ioremap appears to be passing the incorrect size for the platform resource. Unfortunately, I can't locate a user in mainline to verify this. Using resource_size should be the correct fix. Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Acked-by: unsik Kim <donari75@xxxxxxxxx> Cc: Jens Axboe <jens.axboe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/mg_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/block/mg_disk.c~drivers-block-mg_diskc-use-resource_size drivers/block/mg_disk.c --- a/drivers/block/mg_disk.c~drivers-block-mg_diskc-use-resource_size +++ a/drivers/block/mg_disk.c @@ -860,7 +860,7 @@ static int mg_probe(struct platform_devi err = -EINVAL; goto probe_err_2; } - host->dev_base = ioremap(rsc->start , rsc->end + 1); + host->dev_base = ioremap(rsc->start, resource_size(rsc)); if (!host->dev_base) { printk(KERN_ERR "%s:%d ioremap fail\n", __func__, __LINE__); _ Patches currently in -mm which might be from hartleys@xxxxxxxxxxxxxxxxxxx are 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