Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Remove entries from config.s390x already present in config

`config.s390x` had entries already present in `config`.

When generating the config used by vmtest, we concatenate the `config`
file with the `config.{arch}` one, making those entries duplicated.

This patch removes that duplication.

Before:
$ comm -1 -2 <(sort tools/testing/selftests/bpf/config.s390x) <(sort
tools/testing/selftests/bpf/config)
CONFIG_MODULE_SIG=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
$

Ater:
$ comm -1 -2 <(sort tools/testing/selftests/bpf/config.s390x) <(sort
tools/testing/selftests/bpf/config)
$

Signed-off-by: Manu Bretelle <chantr4@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221021210701.728135-2-chantr4@gmail.com

authored by

Manu Bretelle and committed by
Andrii Nakryiko
7a42af4b 2c76238e

-3
-3
tools/testing/selftests/bpf/config.s390x
··· 82 82 CONFIG_MEMCG=y 83 83 CONFIG_MEMORY_HOTPLUG=y 84 84 CONFIG_MEMORY_HOTREMOVE=y 85 - CONFIG_MODULE_SIG=y 86 - CONFIG_MODULE_UNLOAD=y 87 - CONFIG_MODULES=y 88 85 CONFIG_NAMESPACES=y 89 86 CONFIG_NET=y 90 87 CONFIG_NET_9P=y