lkml.org 
[lkml]   [2023]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectarch/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@intel.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@redhat.com>
:::::: CC: Steven Rostedt <srostedt@redhat.com>

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

\
 
 \ /
  Last update: 2023-11-22 13:43    [W:0.024 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site