]> err.no Git - linux-2.6/commit
libata: handle pci_enable_device() failure while resuming
authorTejun Heo <htejun@gmail.com>
Tue, 26 Dec 2006 10:39:50 +0000 (19:39 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:30 +0000 (17:39 -0500)
commit553c4aa630af7bc885e056d0436e4eb7f238579b
tree5a6cf3b15e05309fcfbdb5f68471e2a20b235613
parent8bfa79fcb81d2bdb043f60ab4171704467808b55
libata: handle pci_enable_device() failure while resuming

Handle pci_enable_device() failure while resuming.  This patch kills
the "ignoring return value of 'pci_enable_device'" warning message and
propagates __must_check through ata_pci_device_do_resume().

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c
drivers/ata/libata-core.c
drivers/ata/sata_sil.c
drivers/ata/sata_sil24.c
include/linux/libata.h