[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120207.133307.109701321398712057.davem@davemloft.net>
Date: Tue, 07 Feb 2012 13:33:07 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: festevam@...il.com
Cc: netdev@...r.kernel.org, netdev@...deepdalvi.com,
kernel@...gutronix.de, fabio.estevam@...escale.com
Subject: Re: [PATCH] net: fec: Fix build due to wrong dev annotation
From: Fabio Estevam <festevam@...il.com>
Date: Tue, 7 Feb 2012 16:27:31 -0200
> commit 21a4e469 (netdev: ethernet dev_alloc_skb to netdev_alloc_skb)
> should have used "ndev" instead of "dev".
>
> This causes the following build errors:
>
> drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_rx':
> drivers/net/ethernet/freescale/fec.c:714: error: 'dev' undeclared (first use in this function)
> drivers/net/ethernet/freescale/fec.c:714: error: (Each undeclared identifier is reported only once
> drivers/net/ethernet/freescale/fec.c:714: error: for each function it appears in.)
> drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_alloc_buffers':
> drivers/net/ethernet/freescale/fec.c:1213: error: 'dev' undeclared (first use in this function)
>
> Fix it, so that fec driver can be built again.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
Applied, thanks.
--
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