net: openvswitch: suitable access to the dp_meters
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Sat, 25 Apr 2020 03:39:47 +0000 (11:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:48:21 +0000 (20:48 -0700)
commit4b36a0dff794a00989a50581aed2f94c88b57107
treed3189c20d7458056879f7a4882f5cf4eaad8cdee
parent06b439de5f89be954ae70d16ee5983e6406f6b71
net: openvswitch: suitable access to the dp_meters

To fix the following sparse warning:
| net/openvswitch/meter.c:109:38: sparse: sparse: incorrect type
| in assignment (different address spaces) ...
| net/openvswitch/meter.c:720:45: sparse: sparse: incorrect type
| in argument 1 (different address spaces) ...

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/meter.c