Hi Aaron,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v5.8]
[cannot apply to kvm/linux-next next-20200810]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Aaron-Lewis/Allow-userspace-to-m...
base: bcf876870b95592b52519ed4aafcf9d95999bc9c
config: x86_64-randconfig-a003-20200810 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
3a34228bff6fdf45b50cb57cf5fb85d659eeb672)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/x86/kvm/vmx/vmx.c:3826:6: warning: no previous prototype for
function 'vmx_set_user_msr_intercept' [-Wmissing-prototypes]
void
vmx_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr)
^
arch/x86/kvm/vmx/vmx.c:3826:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void vmx_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr)
^
static
1 warning generated.
--
> arch/x86/kvm/svm/svm.c:636:6: warning: no previous prototype for
function 'svm_set_user_msr_intercept' [-Wmissing-prototypes]
void
svm_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr)
^
arch/x86/kvm/svm/svm.c:636:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void svm_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr)
^
static
1 warning generated.
vim +/vmx_set_user_msr_intercept +3826 arch/x86/kvm/vmx/vmx.c
3825
3826 void vmx_set_user_msr_intercept(struct kvm_vcpu *vcpu, u32 msr)
3827 {
3828 vmx_enable_intercept_for_msr(vcpu, msr, MSR_TYPE_RW);
3829 }
3830
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org