[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 11 Nov 2009 09:57:07 +0530
From: "Kumar Gopalpet-B05799" <B05799@...escale.com>
To: "Anton Vorontsov" <avorontsov@...mvista.com>,
"David Miller" <davem@...emloft.net>
Cc: "Fleming Andy-AFLEMING" <afleming@...escale.com>,
"Jon Loeliger" <jdl@....com>,
"Lennert Buytenhek" <buytenh@...tstofly.org>,
"Stephen Hemminger" <shemminger@...tta.com>,
<netdev@...r.kernel.org>, <linuxppc-dev@...abs.org>
Subject: RE: [PATCH 3/6] gianfar: Fix build with CONFIG_PM=y
>-----Original Message-----
>From: Anton Vorontsov [mailto:avorontsov@...mvista.com]
>Sent: Wednesday, November 11, 2009 5:41 AM
>To: David Miller
>Cc: Fleming Andy-AFLEMING; Jon Loeliger; Kumar
>Gopalpet-B05799; Lennert Buytenhek; Stephen Hemminger;
>netdev@...r.kernel.org; linuxppc-dev@...abs.org
>Subject: [PATCH 3/6] gianfar: Fix build with CONFIG_PM=y
>
>commit fba4ed030cfae7efdb6b79a57b0c5a9d72c9 ("gianfar: Add
>Multiple Queue Support") introduced the following build failure:
>
> CC gianfar.o
>gianfar.c: In function 'gfar_restore':
>gianfar.c:1249: error: request for member 'napi' in something
>not a structure or union
>
>This patch fixes the issue.
>
>Signed-off-by: Anton Vorontsov <avorontsov@...mvista.com>
>---
> drivers/net/gianfar.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
>index 79c28f5..a5b0038 100644
>--- a/drivers/net/gianfar.c
>+++ b/drivers/net/gianfar.c
>@@ -1246,7 +1246,7 @@ static int gfar_restore(struct device *dev)
> phy_start(priv->phydev);
>
> netif_device_attach(ndev);
>- napi_enable(&priv->gfargrp.napi);
>+ enable_napi(priv);
>
> return 0;
> }
I am extreemely sorry for introducing this error, I missed it while
porting my last set of patches.
Thanks for fixing it.
--
Thanks
Sandeep
--
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