diff options
author | 2021-11-24 06:41:35 -0600 | |
---|---|---|
committer | 2021-11-30 08:02:12 -0800 | |
commit | 7b62483f64dd61e6483c75b514c821fe0e339af3 (patch) | |
tree | d3d29b7499280a82e2a21744650aae79f17b68ce /net/core/dev_ioctl.c | |
parent | net: ixp4xx_hss: drop kfree for memory allocated with devm_kzalloc (diff) | |
download | wireguard-linux-7b62483f64dd61e6483c75b514c821fe0e339af3.tar.xz wireguard-linux-7b62483f64dd61e6483c75b514c821fe0e339af3.zip |
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>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions