]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9776b58aea2b1a844f6854e63d48cce948e4e9b
tree2d772a4e4ea1b20949e3c18a7abc8d237fe38627
parentf20d0ad31b171c5333fce7a4de576701a8b0f03a
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