public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Naveen N Rao <naveen@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Michael Ellerman <mpe@ellerman.id.au>,
	Christophe Leroy <christophe.leroy@csgroup.eu>
Subject: arch/powerpc/include/asm/ftrace.h:28 ftrace_call_adjust() warn: inconsistent indenting
Date: Wed, 22 Nov 2023 20:40:46 +0800	[thread overview]
Message-ID: <202311221731.alUwTDIm-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-11-22 12:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311221731.alUwTDIm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=naveen@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox