[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250610072611.1647593-1-gal@nvidia.com>
Date: Tue, 10 Jun 2025 10:26:09 +0300
From: Gal Pressman <gal@...dia.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Andrew Lunn <andrew+netdev@...n.ch>,
<netdev@...r.kernel.org>
CC: Gal Pressman <gal@...dia.com>
Subject: [PATCH net-next 0/2] Couple of vlan cleanups
A couple of vlan cleanups/improvements:
First patch replaces BUG() calls with WARN_ON_ONCE(). This fixes a
compilation warning/error from objtool, and in general the usage of
BUG() should be avoided.
The second patch uses the "kernel" way of testing whether an option is
configured as builtin/module, instead of open-coding it.
Gal Pressman (2):
net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubs
net: vlan: Use IS_ENABLED() helper for CONFIG_VLAN_8021Q guard
include/linux/if_vlan.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.40.1
Powered by blists - more mailing lists