We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ff72f commit 969bea5Copy full SHA for 969bea5
scripts/checkpatch.pl
@@ -4121,15 +4121,6 @@ sub process {
4121
"Prefer [subsystem eg: netdev]_$level2([subsystem]dev, ... then dev_$level2(dev, ... then pr_$level(... to printk(KERN_$orig ...\n" . $herecurr);
4122
}
4123
4124
- if ($line =~ /\bpr_warning\s*\(/) {
4125
- if (WARN("PREFER_PR_LEVEL",
4126
- "Prefer pr_warn(... to pr_warning(...\n" . $herecurr) &&
4127
- $fix) {
4128
- $fixed[$fixlinenr] =~
4129
- s/\bpr_warning\b/pr_warn/;
4130
- }
4131
4132
-
4133
if ($line =~ /\bdev_printk\s*\(\s*KERN_([A-Z]+)/) {
4134
my $orig = $1;
4135
my $level = lc($orig);
0 commit comments