net/hinic: fix implicit downcast of bitfield
authorZiyang Xuan <xuanziyang2@huawei.com>
Tue, 16 Jul 2019 03:59:28 +0000 (11:59 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit87dbbdb120a7f6a5d5be07f122ba2f83655dcb2b
tree29285418e8d9c40279f93b94725f9d646646f0d5
parent7f0ff82cb4ef426ca2b6154263efdb7cfe9de1c8
net/hinic: fix implicit downcast of bitfield

There are some implicit downcast errors in TX offload information
parsing by lgtm tool. This patch is to solve these errors.

Fixes: 64727024d2fd ("net/hinic: add device initialization")

Signed-off-by: Ziyang Xuan <xuanziyang2@huawei.com>
drivers/net/hinic/hinic_pmd_tx.h