[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202103131411.SMDugXEO-lkp@intel.com>
Date: Sat, 13 Mar 2021 14:35:18 +0800
From: kernel test robot <lkp@...el.com>
To: Marc Zyngier <maz@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
James Morse <james.morse@....com>
Subject: arch/arm64/kvm/sys_regs.c:165 vcpu_write_sys_reg() warn:
inconsistent indenting
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f296bfd5cd04cbb49b8fc9585adc280ab2b58624
commit: 7ea90bdd70c9cf82dfbaa54e7d9f296928679224 KVM: arm64: Refactor vcpu_{read,write}_sys_reg
date: 10 months ago
config: arm64-randconfig-m031-20210312 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
smatch warnings:
arch/arm64/kvm/sys_regs.c:165 vcpu_write_sys_reg() warn: inconsistent indenting
vim +165 arch/arm64/kvm/sys_regs.c
7ea90bdd70c9cf Marc Zyngier 2019-06-20 158
7ea90bdd70c9cf Marc Zyngier 2019-06-20 159 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg)
7ea90bdd70c9cf Marc Zyngier 2019-06-20 160 {
7ea90bdd70c9cf Marc Zyngier 2019-06-20 161 if (vcpu->arch.sysregs_loaded_on_cpu &&
7ea90bdd70c9cf Marc Zyngier 2019-06-20 162 __vcpu_write_sys_reg_to_cpu(val, reg))
7ea90bdd70c9cf Marc Zyngier 2019-06-20 163 return;
7ea90bdd70c9cf Marc Zyngier 2019-06-20 164
d47533dab9f50e Christoffer Dall 2017-12-23 @165 __vcpu_sys_reg(vcpu, reg) = val;
d47533dab9f50e Christoffer Dall 2017-12-23 166 }
d47533dab9f50e Christoffer Dall 2017-12-23 167
:::::: The code at line 165 was first introduced by commit
:::::: d47533dab9f50eeb7289a38035c39c9eadb1e048 KVM: arm64: Introduce framework for accessing deferred sysregs
:::::: TO: Christoffer Dall <christoffer.dall@...aro.org>
:::::: CC: Marc Zyngier <marc.zyngier@....com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (29410 bytes)
Powered by blists - more mailing lists