summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorSteven Price <steven.price@arm.com>2019-10-21 16:28:19 +0100
committerMarc Zyngier <maz@kernel.org>2019-10-21 19:20:28 +0100
commit8538cb22bbce5a988671b68baf0b0f9e86ca1e87 (patch)
tree30956f316b4186a4d0b1c18912aaa7aafc1570ec /security
parent8564d6372a7d8a6d440441b8ed8020f97f744450 (diff)
downloadlinux-8538cb22bbce5a988671b68baf0b0f9e86ca1e87.tar.bz2
KVM: Allow kvm_device_ops to be const
Currently a kvm_device_ops structure cannot be const without triggering compiler warnings. However the structure doesn't need to be written to and, by marking it const, it can be read-only in memory. Add some more const keywords to allow this. Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Steven Price <steven.price@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions