Bug 12563 - kconf_check - doesn't pickup all available CONFIG_ options
Summary: kconf_check - doesn't pickup all available CONFIG_ options
Status: RESOLVED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-tooling (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ minor
Target Milestone: 2.8 M3
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-02-21 18:07 UTC by aaron_wright
Modified: 2019-09-27 19:01 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aaron_wright 2018-02-21 18:07:51 UTC
I noticed that the do_kernel_configcheck task of linux-yocto produces some great auditing reports for the kernel config, but mine was reporting several invalid CONFIG_ options. These were all from the net/netfilter/ipvs/Kconfig file. 

This file uses a mix of tabs and spaces between the "config" and the name of the config option. This confuses kconf_check. Or, more precisely, the regex on line 244, "^[ 	]*\(menu\)*config ". The space at the end of the regex is the problem.

This should be changed to, "^[ 	]*\(menu\)*config[ 	]", in order to handle the net/netfilter/ipvs/Kconfig file.
Comment 1 Armin Kuster 2019-09-26 15:19:11 UTC
Hello Bruce,

Has this been addressed with your recent changes? We could not tell.
Comment 2 Bruce Ashfield 2019-09-26 15:22:59 UTC
Yep. i made this change myself and merged it to the repo.
Comment 3 Armin Kuster 2019-09-27 19:01:40 UTC
thanks