lkml.org 
[lkml]   [2022]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectarch/x86/include/asm/kvm-x86-pmu-ops.h:15 kvm_pmu_ops_update() warn: inconsistent indenting
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dcf8e5633e2e69ad60b730ab5905608b756a032f
commit: 1921f3aa9263977f6c31b1c3eb2814bff2e84a12 KVM: x86: Use static calls to reduce kvm_pmu_ops overhead
date: 5 months ago
config: x86_64-randconfig-m001-20220829 (https://download.01.org/0day-ci/archive/20220831/202208311209.kCoWLT0o-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

smatch warnings:
arch/x86/include/asm/kvm-x86-pmu-ops.h:15 kvm_pmu_ops_update() warn: inconsistent indenting

vim +15 arch/x86/include/asm/kvm-x86-pmu-ops.h

5
6 /*
7 * KVM_X86_PMU_OP() and KVM_X86_PMU_OP_OPTIONAL() are used to help generate
8 * both DECLARE/DEFINE_STATIC_CALL() invocations and
9 * "static_call_update()" calls.
10 *
11 * KVM_X86_PMU_OP_OPTIONAL() can be used for those functions that can have
12 * a NULL definition, for example if "static_call_cond()" will be used
13 * at the call sites.
14 */
> 15 KVM_X86_PMU_OP(pmc_perf_hw_id)
16 KVM_X86_PMU_OP(pmc_is_enabled)
17 KVM_X86_PMU_OP(pmc_idx_to_pmc)
18 KVM_X86_PMU_OP(rdpmc_ecx_to_pmc)
19 KVM_X86_PMU_OP(msr_idx_to_pmc)
20 KVM_X86_PMU_OP(is_valid_rdpmc_ecx)
21 KVM_X86_PMU_OP(is_valid_msr)
22 KVM_X86_PMU_OP(get_msr)
23 KVM_X86_PMU_OP(set_msr)
24 KVM_X86_PMU_OP(refresh)
25 KVM_X86_PMU_OP(init)
26 KVM_X86_PMU_OP(reset)
27 KVM_X86_PMU_OP_OPTIONAL(deliver_pmi)
28 KVM_X86_PMU_OP_OPTIONAL(cleanup)
29

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-08-31 06:18    [W:0.025 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site