]> 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)
commit2a1958d6c45dcba1fbddf7959673975db82397ca
tree0d6804c87d7a536f9311f87809d78ef6d6407cf9
parent2954feacd838ae5946604520198d0ef231b5ffad
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