[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47A0379F.5090804@garzik.org>
Date: Wed, 30 Jan 2008 03:38:55 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Roland Dreier <rdreier@...co.com>
CC: Divy Le Ray <divy@...lsio.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] cxgb3: Remove incorrect __devinit annotations
Roland Dreier wrote:
> When PCI error recovery was added to cxgb3, a function t3_io_slot_reset()
> was added. This function can call back into t3_prep_adapter() at any
> time, so t3_prep_adapter() can no longer be marked __devinit.
> This patch removes the __devinit annotation from t3_prep_adapter() and
> all the functions that it calls, which fixes
>
> WARNING: drivers/net/cxgb3/built-in.o(.text+0x2427): Section mismatch in reference from the function t3_io_slot_reset() to the function .devinit.text:t3_prep_adapter()
>
> Signed-off-by: Roland Dreier <rolandd@...co.com>
> ---
> drivers/net/cxgb3/mc5.c | 2 +-
> drivers/net/cxgb3/sge.c | 2 +-
> drivers/net/cxgb3/t3_hw.c | 22 ++++++++++------------
> 3 files changed, 12 insertions(+), 14 deletions(-)
applied
--
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