net/ice/base: use bitmap copy where appropriate
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Sep 2019 07:44:44 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:56 +0000 (15:00 +0200)
commitfadf46b1eed1e20d24a5512209f68f6574f3a442
tree3707d447a90083e05bc4e43fe9edc069c48e7961
parent737dcad0f8b14184f2344be856e23efd763a85d2
net/ice/base: use bitmap copy where appropriate

ice_cp_bitmap() already exists and should be used instead of
using ice_memcpy().  Note, there are a couple comments that suggest
using a bitmap-specific copy function, but those are not correct
since the source block of memory is not a bitmap.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_switch.c