projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
048a2e8
)
checkpatch: downgrade "architecture specific defines should be avoided"
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 21 Sep 2016 16:49:07 +0000
(18:49 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 27 Sep 2016 09:57:29 +0000
(11:57 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl
patch
|
blob
|
history
diff --git
a/scripts/checkpatch.pl
b/scripts/checkpatch.pl
index dde3f5f9d98a5acf7ad978554c56bc7d506ba281..3afa19a766c2ae371ef382dfeee5247d3720c8c1 100755
(executable)
--- a/
scripts/checkpatch.pl
+++ b/
scripts/checkpatch.pl
@@
-2407,7
+2407,7
@@
sub process {
# we have e.g. CONFIG_LINUX and CONFIG_WIN32 for common cases
# where they might be necessary.
if ($line =~ m@^.\s*\#\s*if.*\b__@) {
-
ERROR
("architecture specific defines should be avoided\n" . $herecurr);
+
WARN
("architecture specific defines should be avoided\n" . $herecurr);
}
# Check that the storage class is at the beginning of a declaration