]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
gayle: release resources on ide_host_add() failure
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:34 +0000 (22:53 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:34 +0000 (22:53 +0200)
commit96cc112c09b3c6674da01ef8b377f7a916883ea2
tree48bc76aaf41a75b5d8bde9184912a2ab74abbc3e
parenta0f403bc58dcaa118f02ec70c3ecfec1bc26e445
gayle: release resources on ide_host_add() failure

"gayle: reserve memory resources at once" patch temporary removed
freeing of resources on failure (to ease convertion to ide_host_add()
interface).  This patch fixes it.

Thanks to Geert for noticing the issue.

Noticed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/legacy/gayle.c