[PATCH] netcp: fix typo in netcp_setup_tc

David Miller davem at davemloft.net
Mon Feb 22 12:52:21 PST 2016


From: Arnd Bergmann <arnd at arndb.de>
Date: Mon, 22 Feb 2016 21:50:39 +0100

> A change to the prototype of netcp_setup_tc() missed a '*'
> character, which broke compilation of hte netcp driver:
> 
> drivers/net/ethernet/ti/netcp_core.c: In function 'netcp_setup_tc':
> drivers/net/ethernet/ti/netcp_core.c:1839:31: error: invalid type argument of '->' (have 'struct tc_to_netdev')
> drivers/net/ethernet/ti/netcp_core.c:1872:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Fixes: 16e5cc647173 ("net: rework setup_tc ndo op to consume general tc operand")

Should be fixed in my net-next tree already.

Thanks.



More information about the linux-arm-kernel mailing list