On Wed, Dec 15, 2010 at 05:03:44PM +0530, Pavan Kondeti wrote: > On 12/15/2010 10:19 AM, Olof Johansson wrote: > > + > > + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > > + if (res == NULL) > > + return -ENODEV; > > + > > + ioaddr = ioremap(res->start, res->end - res->start); > > + > > Return value is not checked. Good catch. Thanks. -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html