Skip to content

Conversation

@leitao
Copy link
Contributor

@leitao leitao commented Nov 5, 2025

while testing check_selftest on my patch, which contains the following order:

CONFIG_NET_SCH_INGRESS=y
CONFIG_NETCONSOLE=m

It printed the following error, which is clearly wrong:

Validation errors in tools/testing/selftests/drivers/net/bonding/config:
Lines 14-15 invalid order, CONFIG_NETCONSOLE=m should be after CONFIG_NET_SCH_INGRESS=y

Fix the wording saying that current line should come before the previous one, given there is an error and current line is already after previous line. Also rename variables to make the code easier to reason about.

Fixes: af02b9f ("tests: make check_selftests check format of Makefiles and configs")

while testing check_selftest on my patch, which contains the following order:

	CONFIG_NET_SCH_INGRESS=y
	CONFIG_NETCONSOLE=m

It printed the following error, which is clearly wrong:

	Validation errors in tools/testing/selftests/drivers/net/bonding/config:
	Lines 14-15 invalid order, CONFIG_NETCONSOLE=m should be after CONFIG_NET_SCH_INGRESS=y

Fix the wording saying that current line should come before the previous one,
given there is an error and current line is already after previous line. Also
rename variables to make the code easier to reason about.

Signed-off-by: Breno Leitao <[email protected]>
Fixes: af02b9f ("tests: make check_selftests check format of Makefiles and configs")
@kuba-moo kuba-moo merged commit e6d45f5 into linux-netdev:main Nov 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants