hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/scripts/checkkconfigsymbols.py
....@@ -1,11 +1,11 @@
11 #!/usr/bin/env python3
2
+# SPDX-License-Identifier: GPL-2.0-only
23
34 """Find Kconfig symbols that are referenced but not defined."""
45
56 # (c) 2014-2017 Valentin Rothberg <valentinrothberg@gmail.com>
67 # (c) 2014 Stefan Hengelein <stefan.hengelein@fau.de>
78 #
8
-# Licensed under the terms of the GNU GPL License version 2
99
1010
1111 import argparse
....@@ -34,7 +34,7 @@
3434 REGEX_KCONFIG_DEF = re.compile(DEF)
3535 REGEX_KCONFIG_EXPR = re.compile(EXPR)
3636 REGEX_KCONFIG_STMT = re.compile(STMT)
37
-REGEX_KCONFIG_HELP = re.compile(r"^\s+(help|---help---)\s*$")
37
+REGEX_KCONFIG_HELP = re.compile(r"^\s+help\s*$")
3838 REGEX_FILTER_SYMBOLS = re.compile(r"[A-Za-z0-9]$")
3939 REGEX_NUMERIC = re.compile(r"0[xX][0-9a-fA-F]+|[0-9]+")
4040 REGEX_QUOTES = re.compile("(\"(.*?)\")")