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. > + sdhci = sdhci_alloc_host(&pdev->dev, sizeof(struct tegra_sdhci_host)); > + if (IS_ERR(sdhci)) { > + rc = PTR_ERR(sdhci); > + goto err_unmap; > + } -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- 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