Re: [PATCH] fix error management in 8250_pci.c pciserial_resume_one

From: Russell King
Date: Tue Feb 13 2007 - 05:54:34 EST


On Tue, Feb 13, 2007 at 11:30:10AM +0100, Stefano Brivio wrote:
> CC drivers/serial/8250_pci.o
> drivers/serial/8250_pci.c: In function 'pciserial_resume_one':
> drivers/serial/8250_pci.c:1830: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result
>
> This patch fixes it.

Oh for god sake, this does not fix anything. It creates more problems
than it solves.

Next time, check the mailing list archives and you'll see this is not
the first time this has come up.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/