[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311221731.alUwTDIm-lkp@intel.com>
Date: Wed, 22 Nov 2023 20:40:46 +0800
From: kernel test robot <lkp@...el.com>
To: Naveen N Rao <naveen@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Michael Ellerman <mpe@...erman.id.au>,
Christophe Leroy <christophe.leroy@...roup.eu>
Subject: arch/powerpc/include/asm/ftrace.h:28 ftrace_call_adjust() warn:
inconsistent indenting
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@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231122/202311221731.alUwTDIm-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311221731.alUwTDIm-lkp@intel.com/
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@...hat.com>
:::::: CC: Steven Rostedt <srostedt@...hat.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists