aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 1a869488b8a..b8d8c805fd7 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1812,7 +1812,7 @@ struct pcpu_sw_netstats {
#define netdev_alloc_pcpu_stats(type) \
({ \
- typeof(type) *pcpu_stats = alloc_percpu(type); \
+ typeof(type) __percpu *pcpu_stats = alloc_percpu(type); \
if (pcpu_stats) { \
int i; \
for_each_possible_cpu(i) { \