net/ice: Fix boolean assignment
authorShiraz Saleem <shiraz.saleem@intel.com>
Wed, 24 Nov 2021 12:41:35 +0000 (06:41 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 30 Nov 2021 16:02:12 +0000 (08:02 -0800)
commit7b62483f64dd61e6483c75b514c821fe0e339af3
treed3d29b7499280a82e2a21744650aae79f17b68ce
parent196073f9c44be0b4758ead11e51bc2875f98df29
net/ice: Fix boolean assignment

vbool in ice_devlink_enable_roce_get can be assigned to a
non-0/1 constant.

Fix this assignment of vbool to be 0/1.

Fixes: e523af4ee560 ("net/ice: Add support for enable_iwarp and enable_roce devlink param")
Suggested-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_devlink.c