diff options
author | Bernhard Beschow | 2022-01-17 15:58:05 +0100 |
---|---|---|
committer | Peter Maydell | 2022-02-21 14:30:20 +0100 |
commit | 9a86e023aaa70e05ad9e5354f146c1477b5f5911 (patch) | |
tree | c315c7112d18c05a9a80e18a063da04478dc44ba /scripts | |
parent | Mark remaining global TypeInfo instances as const (diff) | |
download | qemu-9a86e023aaa70e05ad9e5354f146c1477b5f5911.tar.gz qemu-9a86e023aaa70e05ad9e5354f146c1477b5f5911.tar.xz qemu-9a86e023aaa70e05ad9e5354f146c1477b5f5911.zip |
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 <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20220117145805.173070-3-shentey@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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| |