net: dsa: Add __percpu property to prevent warnings
authorAndrew Lunn <andrew@lunn.ch>
Sun, 5 Jul 2020 19:30:04 +0000 (21:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jul 2020 22:31:58 +0000 (15:31 -0700)
commita61bf20831d7fc77395d97777a9b511790fff621
treed4f4c4603ef2a83c56169d5bd3e3c27f69afb264
parentdbacfd8ca755b9f710ab17a1e47572fc4e5dabcc
net: dsa: Add __percpu property to prevent warnings

net/dsa/slave.c:505:13: warning: incorrect type in initializer (different address spaces)
net/dsa/slave.c:505:13:    expected void const [noderef] <asn:3> *__vpp_verify
net/dsa/slave.c:505:13:    got struct pcpu_sw_netstats *

Add the needed _percpu property to prevent this warning.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa_priv.h