A conditioned define_bool is not the only possibility, that was just
one example. Undefined variables can be created by any of the ask,
define, dependent or choice statements listed in
Documentation/kbuild/config-language.txt, when that statement is not
executed. The reason for not being executed can be an 'if' statement
or the code can be in a file that is not read, either the 'source'
statement is bypassed or it is for another architecture. Also the
unset statement changes variables to undefined values.
Identifying where variables can have unset values cannot be done by a
grep of the files. You have to follow every branch of the condition
tree, including source statements, eliminate those variables where
every branch assigns a value before it is used then flag the
remainder as "may be used while uninitialized".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/