[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250903195717.2614214-1-alok.a.tiwari@oracle.com>
Date: Wed, 3 Sep 2025 12:57:12 -0700
From: Alok Tiwari <alok.a.tiwari@...cle.com>
To: dsahern@...nel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
netdev@...r.kernel.org
Cc: alok.a.tiwari@...cle.com
Subject: [PATCH net-next] udp_tunnel: Fix typo using netdev_WARN instead of netdev_warn
There is no condition being tested, so it should be netdev_warn,
not netdev_WARN. Using netdev_WARN here is a typo or misuse.
Signed-off-by: Alok Tiwari <alok.a.tiwari@...cle.com>
---
net/ipv4/udp_tunnel_nic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/udp_tunnel_nic.c b/net/ipv4/udp_tunnel_nic.c
index ff66db48453c..944b3cf25468 100644
--- a/net/ipv4/udp_tunnel_nic.c
+++ b/net/ipv4/udp_tunnel_nic.c
@@ -930,7 +930,7 @@ udp_tunnel_nic_netdevice_event(struct notifier_block *unused,
err = udp_tunnel_nic_register(dev);
if (err)
- netdev_WARN(dev, "failed to register for UDP tunnel offloads: %d", err);
+ netdev_warn(dev, "failed to register for UDP tunnel offloads: %d", err);
return notifier_from_errno(err);
}
/* All other events will need the udp_tunnel_nic state */
--
2.50.1
Powered by blists - more mailing lists