> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Marcin Szycik
> Sent: Thursday, June 27, 2024 8:26 PM
> To: [email protected]
> Cc: [email protected]; [email protected]; Lobakin, Aleksander
> <[email protected]>; Marcin Szycik
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-next v3 3/7] ice: Simplify bitmap 
> setting
> in adding recipe
> 
> From: Michal Swiatkowski <[email protected]>
> 
> Remove unnecessary size checks when copying bitmaps in
> ice_add_sw_recipe() and replace them with compile time assert. Check if the
> bitmaps are equal size, as they are copied both ways.
> 
> Signed-off-by: Michal Swiatkowski <[email protected]>
> Reviewed-by: Przemek Kitszel <[email protected]>
> Co-developed-by: Marcin Szycik <[email protected]>
> Signed-off-by: Marcin Szycik <[email protected]>
> ---
> v2: Replace sizeof(((struct s*)0)->f with sizeof_field() (thanks Alex!)
> ---
>  drivers/net/ethernet/intel/ice/ice_switch.c | 24 ++++++++-------------
>  1 file changed, 9 insertions(+), 15 deletions(-)
> 
Tested-by: Sujai Buvaneswaran <[email protected]>

Reply via email to