checkpatch: Ensure that TypeInfos are const
authorBernhard Beschow <shentey@gmail.com>
Mon, 17 Jan 2022 14:58:05 +0000 (15:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Feb 2022 13:30:20 +0000 (13:30 +0000)
commit9a86e023aaa70e05ad9e5354f146c1477b5f5911
treec315c7112d18c05a9a80e18a063da04478dc44ba
parent5e78c98b7cc98619d2740c7c5030aa56fb22e79f
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>
scripts/checkpatch.pl