All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drivers/virtio: Constify static struct virtio_device_id
@ 2020-09-11 20:35 Rikard Falkeborn
  2020-09-11 20:35 ` [PATCH 1/3] virtio-balloon: Constify id_table Rikard Falkeborn
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Rikard Falkeborn @ 2020-09-11 20:35 UTC (permalink / raw)
  To: virtualization
  Cc: linux-kernel, Michael S. Tsirkin, David Hildenbrand, Jason Wang,
	Gerd Hoffmann, Rikard Falkeborn

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-09-14  7:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 20:35 [PATCH 0/3] drivers/virtio: Constify static struct virtio_device_id Rikard Falkeborn
2020-09-11 20:35 ` [PATCH 1/3] virtio-balloon: Constify id_table Rikard Falkeborn
2020-09-14  7:46   ` David Hildenbrand
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-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
2020-09-14  7:46     ` David Hildenbrand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.