From: Bernhard Beschow <shen...@gmail.com> Now that all static TypeInfo instances are declared const, prevent that new non-const instances are created.
Signed-off-by: Bernhard Beschow <shen...@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-id: 20220117145805.173070-3-shen...@gmail.com Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5e501110601..ddd8148d87e 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| -- 2.25.1