From: Bernhard Beschow Date: Mon, 17 Jan 2022 14:58:05 +0000 (+0100) Subject: checkpatch: Ensure that TypeInfos are const X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9a86e023aaa70e05ad9e5354f146c1477b5f5911;p=qemu.git checkpatch: Ensure that TypeInfos are const Now that all static TypeInfo instances are declared const, prevent that new non-const instances are created. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé Message-id: 20220117145805.173070-3-shentey@gmail.com Signed-off-by: Peter Maydell --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5e50111060..ddd8148d87 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2882,6 +2882,7 @@ sub process { SCSIBusInfo| SCSIReqOps| Spice[A-Z][a-zA-Z0-9]*Interface| + TypeInfo| USBDesc[A-Z][a-zA-Z0-9]*| VhostOps| VMStateDescription|