serial_8250: pci_enable_device fail is not fully handled
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:36:11 +0000 (10:36 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:39 +0000 (09:51 -0700)
commit40836c484c31301998a14be0439cc4e856399843
tree3852b0d70a038d5a94a65d850dfb29f78363a15d
parent43b11d33f2c20c33fcf197780edb2e5d8a1b6a67
serial_8250: pci_enable_device fail is not fully handled

<rmk> talking about leaks - I noticed that the 'check return of
pci_enable_dev()' in the 8250 pci resume function finally made it in
despite my objections against it (causing stuff in higher levels to
leak).

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/8250_pci.c