Re: [PATCH net-next 1/5] net: dsa: Add __precpu property to prevent warnings

2020-07-05 Thread Florian Fainelli
On 7/5/2020 12:30 PM, Andrew Lunn wrote: > net/dsa/slave.c:505:13: warning: incorrect type in initializer (different > address spaces) > net/dsa/slave.c:505:13:expected void const [noderef] *__vpp_verify > net/dsa/slave.c:505:13:got struct pcpu_sw_netstats * > > Add the needed _percpu

[PATCH net-next 1/5] net: dsa: Add __precpu property to prevent warnings

2020-07-05 Thread Andrew Lunn
net/dsa/slave.c:505:13: warning: incorrect type in initializer (different address spaces) net/dsa/slave.c:505:13:expected void const [noderef] *__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: Andre