diff options
| author | Ingo Molnar <mingo@kernel.org> | 2024-03-25 13:32:29 +0300 | 
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2024-03-25 13:32:29 +0300 | 
| commit | f4566a1e73957800df75a3dd2dccee8a4697f327 (patch) | |
| tree | b043b875228c0b25988af66c680d60cae69d761d /drivers/net/ethernet/intel/ice/ice_switch.c | |
| parent | b9e6e28663928cab836a19abbdec3d036a07db3b (diff) | |
| parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
| download | linux-f4566a1e73957800df75a3dd2dccee8a4697f327.tar.xz | |
Merge tag 'v6.9-rc1' into sched/core, to pick up fixes and to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_switch.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_switch.c b/drivers/net/ethernet/intel/ice/ice_switch.c index f84bab80ca42..d4baae8c3b72 100644 --- a/drivers/net/ethernet/intel/ice/ice_switch.c +++ b/drivers/net/ethernet/intel/ice/ice_switch.c @@ -1812,7 +1812,7 @@ ice_aq_alloc_free_vsi_list(struct ice_hw *hw, u16 *vsi_list_id,  			   enum ice_sw_lkup_type lkup_type,  			   enum ice_adminq_opc opc)  { -	DEFINE_FLEX(struct ice_aqc_alloc_free_res_elem, sw_buf, elem, 1); +	DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, sw_buf, elem, 1);  	u16 buf_len = __struct_size(sw_buf);  	struct ice_aqc_res_elem *vsi_ele;  	int status; @@ -2081,7 +2081,7 @@ ice_aq_get_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u8 *r_bitmap,   */  int ice_alloc_recipe(struct ice_hw *hw, u16 *rid)  { -	DEFINE_FLEX(struct ice_aqc_alloc_free_res_elem, sw_buf, elem, 1); +	DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, sw_buf, elem, 1);  	u16 buf_len = __struct_size(sw_buf);  	int status; @@ -4418,7 +4418,7 @@ int  ice_alloc_res_cntr(struct ice_hw *hw, u8 type, u8 alloc_shared, u16 num_items,  		   u16 *counter_id)  { -	DEFINE_FLEX(struct ice_aqc_alloc_free_res_elem, buf, elem, 1); +	DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, buf, elem, 1);  	u16 buf_len = __struct_size(buf);  	int status; @@ -4446,7 +4446,7 @@ int  ice_free_res_cntr(struct ice_hw *hw, u8 type, u8 alloc_shared, u16 num_items,  		  u16 counter_id)  { -	DEFINE_FLEX(struct ice_aqc_alloc_free_res_elem, buf, elem, 1); +	DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, buf, elem, 1);  	u16 buf_len = __struct_size(buf);  	int status; @@ -4476,7 +4476,7 @@ ice_free_res_cntr(struct ice_hw *hw, u8 type, u8 alloc_shared, u16 num_items,   */  int ice_share_res(struct ice_hw *hw, u16 type, u8 shared, u16 res_id)  { -	DEFINE_FLEX(struct ice_aqc_alloc_free_res_elem, buf, elem, 1); +	DEFINE_RAW_FLEX(struct ice_aqc_alloc_free_res_elem, buf, elem, 1);  	u16 buf_len = __struct_size(buf);  	u16 res_type;  	int status;  | 
