aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_common.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <[email protected]>2024-06-27 14:55:43 +0000
committerTony Nguyen <[email protected]>2024-07-11 15:55:08 +0000
commit3125eb5595904c41f93587e35712acffa51e14c8 (patch)
tree0ae9ccf1e569687485d5fe28d00761bc2e9b0994 /drivers/net/ethernet/intel/ice/ice_common.c
parentice: Remove reading all recipes before adding a new one (diff)
downloadkernel-3125eb5595904c41f93587e35712acffa51e14c8.tar.gz
kernel-3125eb5595904c41f93587e35712acffa51e14c8.zip
ice: Simplify bitmap setting in adding recipe
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]> Tested-by: Sujai Buvaneswaran <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.c')
0 files changed, 0 insertions, 0 deletions