[Intel-wired-lan] [PATCH net-next] ixgbe: Use true, false for bool variable in __ixgbe_enable_sriov()

Bowers, AndrewX andrewx.bowers at intel.com
Thu May 7 20:42:45 UTC 2020


-----Original Message-----
From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Jason Yan
Sent: Tuesday, May 5, 2020 12:44 AM
To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; davem at davemloft.net; ast at kernel.org; daniel at iogearbox.net; kuba at kernel.org; hawk at kernel.org; john.fastabend at gmail.com; intel-wired-lan at lists.osuosl.org; netdev at vger.kernel.org; linux-kernel at vger.kernel.org; bpf at vger.kernel.org
Cc: Jason Yan <yanaijie at huawei.com>
Subject: [Intel-wired-lan] [PATCH net-next] ixgbe: Use true, false for bool variable in __ixgbe_enable_sriov()

Fix the following coccicheck warning:

drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:105:2-38: WARNING:
Assignment of 0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie at huawei.com>
---
 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list