]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a92c9c913f0d7346608a0251f5ed44682ec90b4
tree8bb27a5770caf4b1f612f735115f33b91d0672ab
parent150bdd4aeba96961ea7a8739fb5b900bb5108f6d
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