diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/0075-ndo-stats-64.cocci | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/patches/0075-ndo-stats-64.cocci b/patches/0075-ndo-stats-64.cocci index 86131824..8971a97c 100644 --- a/patches/0075-ndo-stats-64.cocci +++ b/patches/0075-ndo-stats-64.cocci @@ -18,6 +18,10 @@ identifier r.stats64_fn; @@ void stats64_fn(...) {...} +#if LINUX_VERSION_IS_LESS(4,11,0) ++/* Just declare it here to keep sparse happy */ ++struct rtnl_link_stats64 * ++stats64_fn_wrap(struct net_device *dev, ++ struct rtnl_link_stats64 *stats); +struct rtnl_link_stats64 * +stats64_fn_wrap(struct net_device *dev, + struct rtnl_link_stats64 *stats) |