ixgbe: Use true, false for bool variable in __ixgbe_enable_sriov()
authorJason Yan <yanaijie@huawei.com>
Tue, 5 May 2020 07:43:37 +0000 (15:43 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 29 May 2020 03:00:02 +0000 (20:00 -0700)
commitc2d77e598b1b7170a091b25e32710a0a9f9e4169
tree2d772a4e4ea1b20949e3c18a7abc8d237fe38627
parent85c41c5b16ee5a4939a22ec833c6a76753e3d428
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@huawei.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c