Bug 22112
Summary: | A couple of Kconfig warnings | ||
---|---|---|---|
Product: | Other | Reporter: | Maciej Rutecki (maciej.rutecki) |
Component: | Configuration | Assignee: | other_configuration (other_configuration) |
Status: | CLOSED WILL_NOT_FIX | ||
Severity: | normal | CC: | fabio.comolli, lacombar, maciej.rutecki, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.37-rc1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 21782 |
Description
Maciej Rutecki
2010-11-04 19:13:29 UTC
This is not a regression. For years, Documentation/kbuild/kconfig-language.txt had the following comment about the usage of the "select" directive: Note: select should be used with care. select will force a symbol to a value without visiting the dependencies. By abusing select you are able to select a symbol FOO even if FOO depends on BAR that is not set. In general use select only for non-visible symbols (no prompts anywhere) and for symbols with no dependencies. That will limit the usefulness but on the other hand avoid the illegal configurations all over. kconfig should one day warn about such things. Until 2.6.36, kconfig was not warning (well, it was, but was silenced due to a late bugfix) about these abusive usage. Now it is. |