]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic-its: Fix misleading nr_entries in vgic_its_check_device_id
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 17 Jul 2016 11:15:19 +0000 (12:15 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:17 +0000 (18:15 +0100)
commitb7a1ae2f1d1566f634dbf1bdb5c60df622c6924e
treef08c54db102077143b98a8dc01fae4a41a2a1b5f
parent4b6a8d458c2de35bcfc607de8f013d4fae15dbd8
KVM: arm64: vgic-its: Fix misleading nr_entries in vgic_its_check_device_id

The nr_entries variable in vgic_its_check_device_id actually
describe the size of the L1 table, and not the number of
entries in this table.

Rename it to l1_tbl_size, so that we can now change the code
with a better understanding of what is what.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-its.c