Skip to content

Couple of vlan cleanups

Gal Pressman netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubsinclude/linux/if_vlan.h+3 -33 replies
2/2net: vlan: Use IS_ENABLED() helper for CONFIG_VLAN_8021Q guardinclude/linux/if_vlan.h+1 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlex LazarDragos Tatulea
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.40.1