lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180114113820.19017-2-ulfalizer@gmail.com>
Date:   Sun, 14 Jan 2018 12:38:20 +0100
From:   Ulf Magnusson <ulfalizer@...il.com>
To:     linux-kbuild@...r.kernel.org
Cc:     yamada.masahiro@...ionext.com, sam@...nborg.org,
        linux-kernel@...r.kernel.org, Ulf Magnusson <ulfalizer@...il.com>
Subject: [PATCH 2/2] kconfig: Improve auto. menu documentation accuracy

An 'if', 'menu', or 'choice' that depends on a preceding symbol will
also generate a submenu.

No functional changes. Only comments updated.

Signed-off-by: Ulf Magnusson <ulfalizer@...il.com>
---
 scripts/kconfig/menu.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index 1f7bcceacde3..86031dc36f7d 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -414,9 +414,10 @@ void menu_finalize(struct menu *parent)
 			menu_finalize(menu);
 	} else if (sym) {
 		/*
-		 * Automatic submenu creation. If sym, A, B, C, ..., are
-		 * consecutive symbols and A, B, C, ... all depend on sym, the
-		 * following menu structure will be created:
+		 * Automatic submenu creation. If sym is a symbol and A, B, C,
+		 * ... are consecutive items (symbols, menus, ifs, etc.) that
+		 * all depend on sym, then the following menu structure is
+		 * created:
 		 *
 		 *	sym
 		 *	 +-A
@@ -425,7 +426,7 @@ void menu_finalize(struct menu *parent)
 		 *	 ...
 		 *
 		 * This also works recursively, giving the following structure
-		 * if B depends on A:
+		 * if A is a symbol and B depends on A:
 		 *
 		 *	sym
 		 *	 +-A
-- 
2.14.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ