From: Vladimir Oltean Date: Wed, 15 Oct 2025 22:33:41 +0000 (+0100) Subject: net: dsa: lantiq_gswip: put a more descriptive error print in gswip_vlan_remove() X-Git-Tag: v6.19-rc1~170^2~355^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a57627626636c20399f0c45ea1d16e6283affc91;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Daniel Golle Link: https://patch.msgid.link/abd4ec58e0f0f53eb3d7027097a20af0bd7b1d6d.1760566491.git.daniel@makrotopia.org Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/dsa/lantiq/lantiq_gswip.c b/drivers/net/dsa/lantiq/lantiq_gswip.c index d9a7a004f9eb5..cfdeb81485006 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; }