[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121128.175134.357731690357578238.davem@davemloft.net>
Date: Wed, 28 Nov 2012 17:51:34 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mugunthanvnm@...com
Cc: netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-omap@...r.kernel.org, richardcochran@...il.com
Subject: Re: [PATCH 1/1] net: ethernet: cpsw: fix build warnings for CPSW
when CPTS not selected
From: Mugunthan V N <mugunthanvnm@...com>
Date: Tue, 27 Nov 2012 23:23:40 +0530
> CC drivers/net/ethernet/ti/cpsw.o
> drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_ndo_ioctl':
> drivers/net/ethernet/ti/cpsw.c:881:20: warning: unused variable 'priv'
>
> The build warning is generated when CPTS is not selected in Kernel Build.
> Fixing by passing the net_device pointer to cpts IOCTL instead of passing priv
>
> Signed-off-by: Mugunthan V N <mugunthanvnm@...com>
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