diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9d761c95eca..0b3e35c9ef0 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2574,7 +2574,8 @@ sub process {  				} else {  					$cast = $cast2;  				} -				WARN("$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . $herecurr); +				WARN("MINMAX", +				     "$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . $herecurr);  			}  		} @@ -2931,11 +2932,11 @@ sub process {  				}  			}  			if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) { -				my $herectx = $here . "\n";; +				my $herectx = $here . "\n";  				my $cnt = statement_rawlines($block);  				for (my $n = 0; $n < $cnt; $n++) { -					$herectx .= raw_line($linenr, $n) . "\n";; +					$herectx .= raw_line($linenr, $n) . "\n";  				}  				WARN("BRACES",  |