net: hns3: change the loop variable 'i' to unsigned type
driver inclusion category: bugfix bugzilla: NA CVE: NA The loop variable 'i' is involved in the bit operation, which is required to be unsigned type and is warning detected by static checker. This patch changes the loop variable 'i' to unsigned type to remove the warning. Feature or Bugfix:Bugfix Signed-off-by: Nmoyufeng <moyufeng@huawei.com> Reviewed-by: Nlipeng <lipeng321@huawei.com> Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录