]> 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)
commitaa1f0928391bd3d93b9eca325fcf03c13c130f86
tree8bb27a5770caf4b1f612f735115f33b91d0672ab
parent6ce6cc44420769c60e556c297829855d9c501be3
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