arch/arm64/kvm/sys_regs.c:165 vcpu_write_sys_reg() warn: inconsistent indenting

From: kernel test robot
Date: Sat Mar 13 2021 - 01:54:43 EST


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@xxxxxxxxx>

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@xxxxxxxxxx>
:::::: CC: Marc Zyngier <marc.zyngier@xxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip