arch/powerpc/include/asm/ftrace.h:28 ftrace_call_adjust() warn: inconsistent indenting

From: kernel test robot
Date: Wed Nov 22 2023 - 07:42:58 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c2d5304e6c648ebcf653bace7e51e0e6742e46c8
commit: 0f71dcfb4aef6043da6cc509e7a7f6a3ae87c12d powerpc/ftrace: Add support for -fpatchable-function-entry
date: 3 months ago
config: powerpc-randconfig-r071-20231122 (https://download.01.org/0day-ci/archive/20231122/202311221731.alUwTDIm-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231122/202311221731.alUwTDIm-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311221731.alUwTDIm-lkp@xxxxxxxxx/

smatch warnings:
arch/powerpc/include/asm/ftrace.h:28 ftrace_call_adjust() warn: inconsistent indenting

vim +28 arch/powerpc/include/asm/ftrace.h

8fd6e5a8c81e2e Steven Rostedt 2008-11-14 22
8fd6e5a8c81e2e Steven Rostedt 2008-11-14 23 static inline unsigned long ftrace_call_adjust(unsigned long addr)
8fd6e5a8c81e2e Steven Rostedt 2008-11-14 24 {
0f71dcfb4aef60 Naveen N Rao 2023-06-19 25 if (IS_ENABLED(CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY))
0f71dcfb4aef60 Naveen N Rao 2023-06-19 26 addr += MCOUNT_INSN_SIZE;
0f71dcfb4aef60 Naveen N Rao 2023-06-19 27
8fd6e5a8c81e2e Steven Rostedt 2008-11-14 @28 return addr;
8fd6e5a8c81e2e Steven Rostedt 2008-11-14 29 }
8fd6e5a8c81e2e Steven Rostedt 2008-11-14 30

:::::: The code at line 28 was first introduced by commit
:::::: 8fd6e5a8c81e2e9b912ea33c8425a10729db469b powerpc: ftrace, convert to new dynamic ftrace arch API

:::::: TO: Steven Rostedt <srostedt@xxxxxxxxxx>
:::::: CC: Steven Rostedt <srostedt@xxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki