]> git.droids-corp.org - dpdk.git/commit
net/hns3: adjust data type of some variables
authorHuisong Li <lihuisong@huawei.com>
Wed, 1 Jun 2022 03:52:43 +0000 (11:52 +0800)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Thu, 9 Jun 2022 08:56:57 +0000 (10:56 +0200)
commit67d0103469330062500a0b9e0d8afd49bf38daa7
tree933b8ef3d8f0d40d5613a00b9f887663ed436a75
parent56f8be38712d839135bde690dae4239e21b2ca73
net/hns3: adjust data type of some variables

Using the 'int' type and 'uint16_t' type to compare is insecure.
Make them consistent.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_common.c
drivers/net/hns3/hns3_dcb.c
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_regs.c
drivers/net/hns3/hns3_rss.c
drivers/net/hns3/hns3_rxtx.c
drivers/net/hns3/hns3_rxtx_vec.h