Commit 9964d8f9 authored by Stefan Weil's avatar Stefan Weil Committed by Stefan Hajnoczi

checkpatch: Add QEMU specific rule

The new rule detects two wrong variants of QEMU.
It was tested with commit b5a8fe5e.
Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
parent bf7eaa5f
......@@ -2849,6 +2849,11 @@ sub process {
ERROR("lockdep_no_validate class is reserved for device->mutex.\n" . $herecurr);
}
}
# QEMU specific tests
if ($rawline =~ /\b(?:Qemu|QEmu)\b/) {
WARN("use QEMU instead of Qemu or QEmu\n" . $herecurr);
}
}
# If we have no input at all, then there is nothing to report on
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment