Re: [PATCH][next] net: hns3: fix expression that is currently always true

2020-12-14 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 15 Dec 2020 00:00:33 + you wrote: > From: Colin Ian King > > The || condition in hdev->fd_active_type != HCLGE_FD_ARFS_ACTIVE || > hdev->fd_active_type != HCLGE_FD_RULE_NONE will always be true because > hdev

Re: [PATCH][next] net: hns3: fix expression that is currently always true

2020-12-14 Thread Huazhong Tan
On 2020/12/15 8:00, Colin King wrote: From: Colin Ian King The || condition in hdev->fd_active_type != HCLGE_FD_ARFS_ACTIVE || hdev->fd_active_type != HCLGE_FD_RULE_NONE will always be true because hdev->fd_active_type cannot be equal to two different values at the same time. The expression i

[PATCH][next] net: hns3: fix expression that is currently always true

2020-12-14 Thread Colin King
From: Colin Ian King The || condition in hdev->fd_active_type != HCLGE_FD_ARFS_ACTIVE || hdev->fd_active_type != HCLGE_FD_RULE_NONE will always be true because hdev->fd_active_type cannot be equal to two different values at the same time. The expression is always true which is not correct. Fix t