kvm: mmu: Replace unsigned with unsigned int for PTE access
authorBen Gardon <bgardon@google.com>
Mon, 3 Feb 2020 23:09:09 +0000 (15:09 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Feb 2020 14:54:00 +0000 (15:54 +0100)
commit0a2b64c50db00196c85ec9e8e4c3d7506cd09db9
tree0d6804c87d7a536f9311f87809d78ef6d6407cf9
parentea79a750927e1835fa869c9136bfd6da28e605e6
kvm: mmu: Replace unsigned with unsigned int for PTE access

There are several functions which pass an access permission mask for
SPTEs as an unsigned. This works, but checkpatch complains about it.
Switch the occurrences of unsigned to unsigned int to satisfy checkpatch.

No functional change expected.

Tested by running kvm-unit-tests on an Intel Haswell machine. This
commit introduced no new failures.

Signed-off-by: Ben Gardon <bgardon@google.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c