]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scripts: headers_install.sh: Remove config leak ignore machinery
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 14 Jan 2026 07:28:17 +0000 (08:28 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 30 Jan 2026 15:46:17 +0000 (16:46 +0100)
There are no entries left to ignore and none should be added again.

Remove the now unused logic.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
scripts/headers_install.sh

index 1301ba68d7725b097b4c2bac2524238d51b586b6..9c15e748761c4d8d9a371f1411c088971bb5cc48 100755 (executable)
@@ -64,30 +64,10 @@ configs=$(sed -e '
        d
 ' $OUTFILE)
 
-# The entries in the following list do not result in an error.
-# Please do not add a new entry. This list is only for existing ones.
-# The list will be reduced gradually, and deleted eventually. (hopefully)
-#
-# The format is <file-name>:<CONFIG-option> in each line.
-config_leak_ignores="
-"
-
 for c in $configs
 do
-       leak_error=1
-
-       for ignore in $config_leak_ignores
-       do
-               if echo "$INFILE:$c" | grep -q "$ignore$"; then
-                       leak_error=
-                       break
-               fi
-       done
-
-       if [ "$leak_error" = 1 ]; then
-               echo "error: $INFILE: leak $c to user-space" >&2
-               exit 1
-       fi
+       echo "error: $INFILE: leak $c to user-space" >&2
+       exit 1
 done
 
 rm -f $TMPFILE