On Wed, 2020-12-09 at 16:02 -0800, akpm@xxxxxxxxxxxxxxxxxxxx wrote: > The patch titled > Subject: checkpatch: add printk_once and printk_ratelimit to prefer pr_<level> warning > has been added to the -mm tree. Its filename is > checkpatch-add-printk_once-and-printk_ratelimit-to-prefer-pr_level-warning.patch I stuffed this one up. It also needs: scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 52f467fd32f9..00085308ed9d 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -4548,6 +4548,7 @@ sub process { my $printk = $1; my $modifier = $2; my $orig = $3; + $modifier = "" if (!defined($modifier)); my $level = lc($orig); $level = "warn" if ($level eq "warning"); my $level2 = $level;