kernel_ConfigVerify: fix report of "unset" value
When the desired state was a config to be disabled, reporting was trying
to make a string out of None. Instead, do this manually to match how the
config looks in a kernel's .config file ("unset").
BUG=chromium:342951
TEST=daisy_spring fails cleanly when using DEBUG_SET_MODULE_RONX
Change-Id: I18d6ff4b4f3cd9f372e4f23a1dce3652d3cd86c5
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/185966
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
1 file changed