[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200911203509.26505-1-rikard.falkeborn@gmail.com>
Date: Fri, 11 Sep 2020 22:35:06 +0200
From: Rikard Falkeborn <rikard.falkeborn@...il.com>
To: virtualization@...ts.linux-foundation.org
Cc: linux-kernel@...r.kernel.org,
"Michael S. Tsirkin" <mst@...hat.com>,
David Hildenbrand <david@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Gerd Hoffmann <kraxel@...hat.com>,
Rikard Falkeborn <rikard.falkeborn@...il.com>
Subject: [PATCH 0/3] drivers/virtio: Constify static struct virtio_device_id
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
Powered by blists - more mailing lists