Thread (3 messages) 3 messages, 3 authors, 2012-11-28
DORMANTno replies

Re: [PATCH 1/1] net: ethernet: cpsw: fix build warnings for CPSW when CPTS not selected

From: David Miller <davem@davemloft.net>
Date: 2012-11-28 22:51:34
Also in: linux-arm-kernel, linux-omap

From: Mugunthan V N <redacted>
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help