]> git.ipfire.org Git - thirdparty/linux.git/commit
dpaa2-switch: print an error when the vlan is already configured
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 19 Dec 2023 11:59:28 +0000 (13:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Dec 2023 01:18:59 +0000 (01:18 +0000)
commitd50b1a8c3033bfb1cf97b0a8d0ce58e355c706e2
tree812d696ac3d6e00092b5f19388857b800c87342a
parent7218e963196e5f85008a8f86e5b4dd613fae0a4c
dpaa2-switch: print an error when the vlan is already configured

Print a netdev error when we hit a case in which a specific VLAN is
already configured on the port. While at it, change the already existing
netdev_warn into an _err for consistency purposes.

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c