Skip to content
Commit 7ab4de60 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Michael S. Tsirkin
Browse files

virtio-mem: Constify mem_id_table



mem_id_table is not modified, so make it const to allow the compiler to
put it in read-only memory.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200911203509.26505-4-rikard.falkeborn@gmail.com
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
parent 7f906116
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment