net/ice/base: silence static analysis warning
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 26 Aug 2020 06:44:33 +0000 (14:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commit3b085e6054fa58fa05823f2f9a3ef8d948309d71
treef0ecb77dec88d6a9cb9605a04223b9864a09863e
parent2fa7b31996cd1f6ec727898120758bfc9edf8327
net/ice/base: silence static analysis warning

Sparse warns about these casts to/from restricted types which are not
actual problems; silence the warnings.

Signed-off-by: Bruce Allan <bruce.w.allan@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_nvm.c
drivers/net/ice/base/ice_switch.c