[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101030.162831.260085538.davem@davemloft.net>
Date: Sat, 30 Oct 2010 16:28:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mkl@...gutronix.de
Cc: socketcan-core@...ts.berlios.de, netdev@...r.kernel.org,
tomoya-linux@....okisemi.com
Subject: Re: [PATCH 2/2] can: pch_can: fix section mismatch warning by
using a whitelisted name
From: Marc Kleine-Budde <mkl@...gutronix.de>
Date: Wed, 27 Oct 2010 10:38:26 +0200
> This patch fixes the following section mismatch warning:
>
> WARNING: drivers/net/can/pch_can.o(.data+0x18):
> Section mismatch in reference from the variable pch_can_pcidev
> to the variable .devinit.rodata:pch_pci_tbl
> The variable pch_can_pcidev references
> the variable __devinitconst pch_pci_tbl
>
> This is actually a false positive which is fixed by giving the offending
> variable a whitelisted name, it's renamed to "pch_can_pci_driver".
> This makes sense because the variable is of the type "struct pci_driver".
>
> Signed-off-by: Marc Kleine-Budde <mkl@...gutronix.de>
> Acked-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
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