Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/hns3: fix variable type mismatch
[ upstream commit 1bbac8785cdf51bc6c5005c6754eab4d517cc4b0 ] Loop conditions are compared with different variable types, which may cause overflow risks. Fixes: 67d0103 ("net/hns3: adjust data type of some variables") Fixes: 6ee07e3 ("net/hns3: fix insecure way to query MAC statistics") Signed-off-by: Dengdui Huang <huangdengdui@huawei.com> Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
- Loading branch information