diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2025-10-16 01:33:41 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-18 03:54:59 +0300 |
| commit | a57627626636c20399f0c45ea1d16e6283affc91 (patch) | |
| tree | 659d4005db0d29b2d85232831f830a80a6dd667d | |
| parent | 7ed1965f10100a0928e8d88b205273240d597d95 (diff) | |
| download | linux-a57627626636c20399f0c45ea1d16e6283affc91.tar.xz | |
net: dsa: lantiq_gswip: put a more descriptive error print in gswip_vlan_remove()
Improve the error message printed in case of a port VLAN entry not being
found upon removal.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/abd4ec58e0f0f53eb3d7027097a20af0bd7b1d6d.1760566491.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
| -rw-r--r-- | drivers/net/dsa/lantiq/lantiq_gswip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/dsa/lantiq/lantiq_gswip.c b/drivers/net/dsa/lantiq/lantiq_gswip.c index d9a7a004f9eb..cfdeb8148500 100644 --- a/drivers/net/dsa/lantiq/lantiq_gswip.c +++ b/drivers/net/dsa/lantiq/lantiq_gswip.c @@ -875,7 +875,8 @@ static int gswip_vlan_remove(struct gswip_priv *priv, } if (idx == -1) { - dev_err(priv->dev, "bridge to leave does not exists\n"); + dev_err(priv->dev, "Port %d cannot find VID %u of bridge %s\n", + port, vid, bridge ? bridge->name : "(null)"); return -ENOENT; } |
