Re: drivers/block/mg_disk.c: use resource_size()

From: unsik Kim
Date: Thu Nov 26 2009 - 23:32:28 EST


> 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.

The patch is definitely right. I tested it in ARM platform.
Thank you for your patch.

---
Regards,
unsik Kim <donari75@xxxxxxxxx>
--
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/