mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
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 <alok.a.tiwari@oracle.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
6ef670d833
commit
9157b8a88c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user