#ifndef LINK_H #define LINK_H #include #include #include #include #include "built_in.h" extern int wireless_sigqual(const char *ifname, struct iw_statistics *stats); extern int wireless_rangemax_sigqual(const char *ifname); extern u32 wireless_bitrate(const char *ifname); extern u32 ethtool_bitrate(const char *ifname); extern int ethtool_drvinf(const char *ifname, struct ethtool_drvinfo *drvinf); extern int ethtool_link(const char *ifname); #endif /* LINK_H */ ' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-02-02 15:49:24 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-03 11:14:50 -0500
commitff3edc9b8efc8200c25f3a5adfb1c1de0a882dc5 (patch)
tree651a0fb76ff042dcfc1bfcd1405b432f03689a71 /drivers
parentceef438d613f6d496ca84bad2ddf21786ee0e9f6 (diff)
hns_enet: use cpumask_var_t for on-stack mask
On large SMP builds, we can run into a build warning: drivers/net/ethernet/hisilicon/hns/hns_enet.c: In function 'hns_set_irq_affinity.isra.27': drivers/net/ethernet/hisilicon/hns/hns_enet.c:1242:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] The solution here is to use cpumask_var_t, which can use dynamic allocation when CONFIG_CPUMASK_OFFSTACK is enabled. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')