Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81950?usp=email )
Change subject: lint/checkpatch: Do not require an empty line before error injection ......................................................................
lint/checkpatch: Do not require an empty line before error injection
This updates the script to upsteam version 6.8 https://github.com/torvalds/linux/commit/2f9dadba5ba02e1510a04ce57ebfb9e08fd...
Change-Id: I40708185df4036f7aaa1dcb419663c9e54aad44a Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M util/lint/checkpatch.pl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/81950/1
diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl index 16b6bd3..5afdc4e 100755 --- a/util/lint/checkpatch.pl +++ b/util/lint/checkpatch.pl @@ -3565,7 +3565,7 @@ if ($prevline =~ /^[+ ]};?\s*$/ && $line =~ /^+/ && !($line =~ /^+\s*$/ || - $line =~ /^+\s*EXPORT_SYMBOL/ || + $line =~ /^+\s*(?:EXPORT_SYMBOL|early_param|ALLOW_ERROR_INJECTION)/ || $line =~ /^+\s*MODULE_/i || $line =~ /^+\s*#\s*(?:end|elif|else)/ || $line =~ /^+[a-z_]*init/ ||