Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58992 )
Change subject: util/lint/kconfig_lint: Fix off by one error that missed last line ......................................................................
util/lint/kconfig_lint: Fix off by one error that missed last line
This error prevented the last line of the Kconfig tree from being printed or added to the output file. This is a significant problem if you try to use the generated file as the kconfig source, because it changes CONFIG_HAVE_RAMSTAGE from defaulting to yes to defaulting to NO. This causes the build to stop working.
Signed-off-by: Martin Roth martin@coreboot.org Change-Id: I3ec11f1ac59533a078fd3bd4d0dbee9df825a97a --- M util/lint/kconfig_lint 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/58992/1
diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint index a3495ce..32bf92d 100755 --- a/util/lint/kconfig_lint +++ b/util/lint/kconfig_lint @@ -1312,7 +1312,7 @@
return unless $print_full_output;
- for ( my $i = 0 ; $i < $#wholeconfig ; $i++ ) { + for ( my $i = 0 ; $i <= $#wholeconfig ; $i++ ) { my $line = $wholeconfig[$i]; chop( $line->{text} );