net/hns3: fix code check warning
authorMin Hu (Connor) <humin29@huawei.com>
Wed, 1 Jun 2022 03:52:46 +0000 (11:52 +0800)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Thu, 9 Jun 2022 08:57:44 +0000 (10:57 +0200)
commitb902301e8a687416ec5d1fb65bc73513bcc2da2a
tree8681a6f711e961f705c8d0c5a658d81bf6f5d1d4
parentd7050da870a9d259a6422e253d54fa552cbfa7c8
net/hns3: fix code check warning

In bitwise operation, "val" should be an unsigned type.

Fixes: 38b539d96eb6 ("net/hns3: support IEEE 1588 PTP")
Cc: stable@dpdk.org
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ptp.c