From: Rikard Falkeborn <rikard.falkeborn@gmail.com>
To: virtualization@lists.linux-foundation.org
Cc: linux-kernel@vger.kernel.org,
"Michael S. Tsirkin" <mst@redhat.com>,
David Hildenbrand <david@redhat.com>,
Jason Wang <jasowang@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>,
Rikard Falkeborn <rikard.falkeborn@gmail.com>
Subject: [PATCH 0/3] drivers/virtio: Constify static struct virtio_device_id
Date: Fri, 11 Sep 2020 22:35:06 +0200 [thread overview]
Message-ID: <20200911203509.26505-1-rikard.falkeborn@gmail.com> (raw)
Constify a couple of instances of static struct virtio_device_id which
are never modified. This allows the compiler to put them in read-only
memory.
Rikard Falkeborn (3):
virtio-balloon: Constify id_table
virtio_input: Constify id_table
virtio-mem: Constify mem_id_table
drivers/virtio/virtio_balloon.c | 2 +-
drivers/virtio/virtio_input.c | 2 +-
drivers/virtio/virtio_mem.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.28.0
next reply other threads:[~2020-09-11 20:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 20:35 Rikard Falkeborn [this message]
2020-09-11 20:35 ` [PATCH 1/3] virtio-balloon: Constify id_table Rikard Falkeborn
2020-09-14 7:46 ` David Hildenbrand
2020-09-11 20:35 ` [PATCH 2/3] virtio_input: " Rikard Falkeborn
2020-09-14 7:46 ` David Hildenbrand
2020-09-11 20:35 ` [PATCH 3/3] virtio-mem: Constify mem_id_table Rikard Falkeborn
2020-09-14 7:46 ` David Hildenbrand
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=20200911203509.26505-1-rikard.falkeborn@gmail.com \
--to=rikard.falkeborn@gmail.com \
--cc=david@redhat.com \
--cc=jasowang@redhat.com \
--cc=kraxel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=virtualization@lists.linux-foundation.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
all inboxes | Powered by JetHome®