From: Alok Tiwari Date: Tue, 21 Oct 2025 19:32:01 +0000 (-0700) Subject: igbvf: fix misplaced newline in VLAN add warning message X-Git-Tag: v6.19-rc1~170^2~271^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9157b8a88c0bd769808caaecce4b8c96bd826304;p=thirdparty%2Fkernel%2Flinux.git igbvf: fix misplaced newline in VLAN add warning message Corrected the dev_warn format string: - "Vlan id %d\n is not added" -> "Vlan id %d is not added\n" Signed-off-by: Alok Tiwari Reviewed-by: Simon Horman Signed-off-by: Tony Nguyen --- diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c b/drivers/net/ethernet/intel/igbvf/netdev.c index 61dfcd8cb370a..ac57212ab02bd 100644 --- a/drivers/net/ethernet/intel/igbvf/netdev.c +++ b/drivers/net/ethernet/intel/igbvf/netdev.c @@ -1235,7 +1235,7 @@ static int igbvf_vlan_rx_add_vid(struct net_device *netdev, spin_lock_bh(&hw->mbx_lock); if (hw->mac.ops.set_vfta(hw, vid, true)) { - dev_warn(&adapter->pdev->dev, "Vlan id %d\n is not added", vid); + dev_warn(&adapter->pdev->dev, "Vlan id %d is not added\n", vid); spin_unlock_bh(&hw->mbx_lock); return -EINVAL; }