Skip to content

drivers/virtio: Constify static struct virtio_device_id

Rikard Falkeborn lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio-balloon: Constify id_tabledrivers/virtio/virtio_balloon.c+1 -11 reply
2/3virtio_input: Constify id_tabledrivers/virtio/virtio_input.c+1 -11 reply
3/3virtio-mem: Constify mem_id_tabledrivers/virtio/virtio_mem.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDavid Hildenbrand
1/3A-b
2/3R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.28.0