Author: nbd
Date: 2015-12-05 14:11:28 +0100 (Sat, 05 Dec 2015)
New Revision: 47789

Added:
   
trunk/target/linux/generic/patches-4.4/010-net-remove-unnecessary-semicolon-in-netdev_alloc_pcp.patch
Log:
kernel: fix linux 4.4 mac80211 build error

Signed-off-by: Felix Fietkau <[email protected]>

Added: 
trunk/target/linux/generic/patches-4.4/010-net-remove-unnecessary-semicolon-in-netdev_alloc_pcp.patch
===================================================================
--- 
trunk/target/linux/generic/patches-4.4/010-net-remove-unnecessary-semicolon-in-netdev_alloc_pcp.patch
                               (rev 0)
+++ 
trunk/target/linux/generic/patches-4.4/010-net-remove-unnecessary-semicolon-in-netdev_alloc_pcp.patch
       2015-12-05 13:11:28 UTC (rev 47789)
@@ -0,0 +1,24 @@
+From: Felix Fietkau <[email protected]>
+Date: Sat, 5 Dec 2015 13:53:36 +0100
+Subject: [PATCH] net: remove unnecessary semicolon in
+ netdev_alloc_pcpu_stats()
+
+This semicolon causes a build error if the function call is wrapped in
+parentheses.
+
+Fixes: aabc92bbe3cf ("net: add __netdev_alloc_pcpu_stats() to indicate gfp 
flags")
+Reported-by: Imre Kaloz <[email protected]>
+Signed-off-by: Felix Fietkau <[email protected]>
+---
+
+--- a/include/linux/netdevice.h
++++ b/include/linux/netdevice.h
+@@ -2083,7 +2083,7 @@ struct pcpu_sw_netstats {
+ })
+ 
+ #define netdev_alloc_pcpu_stats(type)                                 \
+-      __netdev_alloc_pcpu_stats(type, GFP_KERNEL);
++      __netdev_alloc_pcpu_stats(type, GFP_KERNEL)
+ 
+ #include <linux/notifier.h>
+ 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to