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

From: Alan
Date: Tue Feb 13 2007 - 06:04:42 EST


On Tue, 13 Feb 2007 11:30:10 +0100
Stefano Brivio <stefano.brivio@xxxxxxxxx> 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.

NAK. as ith the past several times people proposed this. The bug is in
the pci_enable_device header being must_check
-
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/