qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bernhard Beschow <shentey@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Bernhard Beschow <shentey@gmail.com>
Subject: [PATCH v2 2/2] checkpatch: Ensure that TypeInfos are const
Date: Mon, 17 Jan 2022 15:58:05 +0100	[thread overview]
Message-ID: <20220117145805.173070-3-shentey@gmail.com> (raw)
In-Reply-To: <20220117145805.173070-1-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>
---
 scripts/checkpatch.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 5caa739db4..509a290041 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2883,6 +2883,7 @@ sub process {
 				SCSIBusInfo|
 				SCSIReqOps|
 				Spice[A-Z][a-zA-Z0-9]*Interface|
+				TypeInfo|
 				USBDesc[A-Z][a-zA-Z0-9]*|
 				VhostOps|
 				VMStateDescription|
-- 
2.34.1



  parent reply	other threads:[~2022-01-17 15:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17 14:58 [PATCH v2 0/2] Mark remaining global TypeInfo instances as const Bernhard Beschow
2022-01-17 14:58 ` [PATCH v2 1/2] " Bernhard Beschow
2022-01-17 15:01   ` Philippe Mathieu-Daudé via
2022-01-17 15:19   ` Corey Minyard
2022-01-17 15:21   ` Cédric Le Goater
2022-01-19 14:16   ` Igor Mammedov
2022-02-17 21:34   ` Bernhard Beschow
2022-01-17 14:58 ` Bernhard Beschow [this message]
2022-01-17 15:05   ` [PATCH v2 2/2] checkpatch: Ensure that TypeInfos are const Philippe Mathieu-Daudé via
2022-02-18 11:38 ` [PATCH v2 0/2] Mark remaining global TypeInfo instances as const Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220117145805.173070-3-shentey@gmail.com \
    --to=shentey@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).