The patch titled drivers/ata/pata_ixp4xx_cf.c: ioremap return code check has been added to the -mm tree. Its filename is drivers-ata-ioremap-returncode-check-pata_ixp4xx_cfc.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: drivers/ata/pata_ixp4xx_cf.c: ioremap return code check From: "Scott Thompson" <postfail@xxxxxxxxxxxx> Correct two missing ioremap return checks. Signed-off-by: Scott Thompson <postfail@xxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/ata/pata_ixp4xx_cf.c | 8 ++++++++ 1 files changed, 8 insertions(+) diff -puN drivers/ata/pata_ixp4xx_cf.c~drivers-ata-ioremap-returncode-check-pata_ixp4xx_cfc drivers/ata/pata_ixp4xx_cf.c --- a/drivers/ata/pata_ixp4xx_cf.c~drivers-ata-ioremap-returncode-check-pata_ixp4xx_cfc +++ a/drivers/ata/pata_ixp4xx_cf.c @@ -186,6 +186,14 @@ static __devinit int ixp4xx_pata_probe(s data->cs0 = devm_ioremap(&pdev->dev, cs0->start, 0x1000); data->cs1 = devm_ioremap(&pdev->dev, cs1->start, 0x1000); + if (!data->cs0 || !data->cs1) { + if (data->cs0) + iounmap(data->cs0); + if (data->cs1) + iounmap(data->cs1); + return -ENOMEM; + } + irq = platform_get_irq(pdev, 0); if (irq) set_irq_type(irq, IRQT_RISING); _ Patches currently in -mm which might be from postfail@xxxxxxxxxxxx are git-alsa.patch drivers-ata-ioremap-returncode-check-pata_ixp4xx_cfc.patch drivers-atm-ioremap-balancing-returncode-check.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