qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 05/28] checkpatch: downgrade "architecture specific d


From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 05/28] checkpatch: downgrade "architecture specific defines should be avoided"
Date: Mon, 26 Sep 2016 15:40:35 +0200

Signed-off-by: Paolo Bonzini <address@hidden>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index dde3f5f..3afa19a 100755
--- 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 =~ address@hidden@) {
-                       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
-- 
2.7.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]