]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: Kconfig: add endif/endmenu comments
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 21 Jul 2025 02:04:20 +0000 (19:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Jul 2025 01:17:23 +0000 (18:17 -0700)
Add comments on endif & endmenu blocks. This can save time
when searching & trying to understand kconfig menu dependencies.

The other endif & endmenu statements are already commented like this.

This makes it similar to drivers/net/Kconfig, which is already
commented like this.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250721020420.3555128-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/Kconfig

index ebc80a98fc911b0b3db3b693cc259c31ccf9b6b5..d5865cf1979950a890d98ebf8eb0004f6712f4af 100644 (file)
@@ -247,7 +247,7 @@ source "net/ipv4/netfilter/Kconfig"
 source "net/ipv6/netfilter/Kconfig"
 source "net/bridge/netfilter/Kconfig"
 
-endif
+endif # if NETFILTER
 
 source "net/sctp/Kconfig"
 source "net/rds/Kconfig"
@@ -408,9 +408,9 @@ config NET_DROP_MONITOR
          just checking the various proc files and other utilities for
          drop statistics, say N here.
 
-endmenu
+endmenu # Network testing
 
-endmenu
+endmenu # Networking options
 
 source "net/ax25/Kconfig"
 source "net/can/Kconfig"