[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/26] checkpatch: Ensure that TypeInfos are const
From: |
Peter Maydell |
Subject: |
[PULL 06/26] checkpatch: Ensure that TypeInfos are const |
Date: |
Mon, 21 Feb 2022 09:27:40 +0000 |
From: Bernhard Beschow <shentey@gmail.com>
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 | 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
- [PULL 00/26] target-arm queue, Peter Maydell, 2022/02/21
- [PULL 01/26] MAINTAINERS: Adding myself as a reviewer of some components, Peter Maydell, 2022/02/21
- [PULL 02/26] tests/qtest: add qtests for npcm7xx sdhci, Peter Maydell, 2022/02/21
- [PULL 03/26] hvf: arm: Use macros for sysreg shift/masking, Peter Maydell, 2022/02/21
- [PULL 04/26] hvf: arm: Handle unknown ID registers as RES0, Peter Maydell, 2022/02/21
- [PULL 07/26] target/arm: Move '-cpu host' code to cpu64.c, Peter Maydell, 2022/02/21
- [PULL 06/26] checkpatch: Ensure that TypeInfos are const,
Peter Maydell <=
- [PULL 08/26] target/arm: Use aarch64_cpu_register() for 'host' CPU type, Peter Maydell, 2022/02/21
- [PULL 12/26] target/arm: Support PAuth extension for hvf, Peter Maydell, 2022/02/21
- [PULL 05/26] Mark remaining global TypeInfo instances as const, Peter Maydell, 2022/02/21
- [PULL 09/26] target/arm: Make KVM -cpu max exactly like -cpu host, Peter Maydell, 2022/02/21
- [PULL 11/26] target/arm: Fix '-cpu max' for HVF, Peter Maydell, 2022/02/21
- [PULL 14/26] Kconfig: Add 'imply I2C_DEVICES' on boards with available i2c bus, Peter Maydell, 2022/02/21
- [PULL 13/26] Kconfig: Add I2C_DEVICES device group, Peter Maydell, 2022/02/21
- [PULL 10/26] target/arm: Unindent unnecessary else-clause, Peter Maydell, 2022/02/21
- [PULL 15/26] hw/arm/armv7m: Handle disconnected clock inputs, Peter Maydell, 2022/02/21
- [PULL 16/26] include: Move qemu_madvise() and related #defines to new qemu/madvise.h, Peter Maydell, 2022/02/21