ice: replace u8 elements with bool where appropriate
authorDave Ertman <david.m.ertman@intel.com>
Mon, 16 Jun 2025 11:03:17 +0000 (13:03 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 14 Aug 2025 15:57:28 +0000 (08:57 -0700)
commit5b35b83d0d759e8313e0dd921fb9b9ac947c2585
treee1c961b3cdf71f19a53615586644e7b4ef244704
parentba7fad179699dbbd3dfdc9ca5594d7f3c425a2a2
ice: replace u8 elements with bool where appropriate

In preparation for the new LAG functionality implementation, there are
a couple of existing LAG elements of the capabilities struct that should
be bool instead of u8.  Since we are adding a new element to this struct
that should also be a bool, fix the existing LAG u8 in this patch and
eliminate !! operators where possible.

Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_type.h