[PATCH] netcp: use pointer to fix build fail

2016-02-22 Thread Sudip Mukherjee
While building keystone_defconfig of arm we are getting build failure with the error: drivers/net/ethernet/ti/netcp_core.c:1846:31: error: invalid type argument of '->' (have 'struct tc_to_netdev') if (handle != TC_H_ROOT || tc->type != TC_SETUP_MQPRIO) ^ drivers/

Re: [PATCH] netcp: use pointer to fix build fail

2016-02-22 Thread David Miller
From: Sudip Mukherjee Date: Mon, 22 Feb 2016 22:55:43 +0530 > While building keystone_defconfig of arm we are getting build failure > with the error: ... > The callback of ndo_setup_tc should be: > int (*ndo_setup_tc)(struct net_device *dev, u32 handle, __be16 protocol, > str