OSDN Git Service

KVM: VMX: Fix the module parameters for vmx
authorBabu Moger <babu.moger@amd.com>
Fri, 16 Mar 2018 20:37:22 +0000 (16:37 -0400)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 28 Mar 2018 20:47:06 +0000 (22:47 +0200)
commit7fbc85a5fb2b018d7030cba53f4c42ab90304acd
tree8bb27a5770caf4b1f612f735115f33b91d0672ab
parentdd60d217062f4527f4a94af8b3a2e9666c26f903
KVM: VMX: Fix the module parameters for vmx

The vmx module parameters are supposed to be unsigned variants.

Also fixed the checkpatch errors like the one below.

WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'.
+module_param(ple_gap, uint, S_IRUGO);

Signed-off-by: Babu Moger <babu.moger@amd.com>
[Expanded uint to unsigned int in code. - Radim]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c