On Fri, Oct 24, 2025 at 06:46:26AM -0700, Alok Tiwari wrote:
> The warning message refers to "add VLAN changes" instead of
> "delete VLAN changes". Update the log string to use the correct text.
> 
> Signed-off-by: Alok Tiwari <[email protected]>
> ---
>  drivers/net/ethernet/intel/iavf/iavf_virtchnl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 
> b/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
> index 34a422a4a29c..6ad91db027d3 100644
> --- a/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
> +++ b/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
> @@ -987,7 +987,7 @@ void iavf_del_vlans(struct iavf_adapter *adapter)
>  
>               len = virtchnl_struct_size(vvfl_v2, filters, count);
>               if (len > IAVF_MAX_AQ_BUF_SIZE) {
> -                     dev_warn(&adapter->pdev->dev, "Too many add VLAN 
> changes in one request\n");
> +                     dev_warn(&adapter->pdev->dev, "Too many delete VLAN 
> changes in one request\n");
>                       while (len > IAVF_MAX_AQ_BUF_SIZE)
>                               len = virtchnl_struct_size(vvfl_v2, filters,
>                                                          --count);

Thanks, this seems to be a copy-paste error as the text being
updated also appears in the preceding function in this file,
iavf_add_vlans().

Reviewed-by: Simon Horman <[email protected]>

Reply via email to