[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <464A512C.9080104@garzik.org>
Date: Tue, 15 May 2007 20:32:44 -0400
From: Jeff Garzik <jeff@...zik.org>
To: "H. Peter Anvin" <hpa@...or.com>
CC: e1000-devel@...ts.sourceforge.net, john.ronciak@...el.com,
jesse.brandeburg@...el.com, jeffrey.t.kirsher@...el.com,
auke-jan.h.kok@...el.com, netdev@...r.kernel.org
Subject: Re: [PATCH] [e1000] Lower the MSI unavailable message to INFO priority
H. Peter Anvin wrote:
> diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
> index 637ae8f..089ae3f 100644
> --- a/drivers/net/e1000/e1000_main.c
> +++ b/drivers/net/e1000/e1000_main.c
> @@ -307,7 +307,7 @@ static int e1000_request_irq(struct e1000_adapter *adapter)
> if (adapter->hw.mac_type >= e1000_82571) {
> adapter->have_msi = TRUE;
> if ((err = pci_enable_msi(adapter->pdev))) {
> - DPRINTK(PROBE, ERR,
> + DPRINTK(PROBE, INFO,
> "Unable to allocate MSI interrupt Error: %d\n", err);
> adapter->have_msi = FALSE;
Actually, it should not print any message at all.
pci_enable_msi() failure is a normal event (as you point out). Even at
KERN_INFO level, the message is still misleading.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists