]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92543a661639a86ab13e647834aa53c3b99aada8
tree0d6804c87d7a536f9311f87809d78ef6d6407cf9
parent4f286d0ef13e4aead70a19188a331ece83740dec
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