All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [peterz-queue:x86/ibt 7/9] arch/x86/include/asm/ftrace.h: asm/ibt.h is included more than once.
Date: Fri, 7 Feb 2025 05:40:45 +0800	[thread overview]
Message-ID: <202502070504.4DtpgX6x-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Peter Zijlstra <peterz@infradead.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt
head:   57750f0464beab3927ad570e0c1b5e78c91dd1b6
commit: c5a15175c3560f7ec5cacfca9fd72655b7f55742 [7/9] x86/ibt: Clean up is_endbr()
:::::: branch date: 7 hours ago
:::::: commit date: 7 hours ago
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)

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/r/202502070504.4DtpgX6x-lkp@intel.com/

includecheck warnings: (new ones prefixed by >>)
>> arch/x86/include/asm/ftrace.h: asm/ibt.h is included more than once.

vim +5 arch/x86/include/asm/ftrace.h

     4	
   > 5	#include "asm/ibt.h"
     6	#include <asm/ptrace.h>
     7	
     8	#ifdef CONFIG_FUNCTION_TRACER
     9	#ifndef CC_USING_FENTRY
    10	# error Compiler does not support fentry?
    11	#endif
    12	# define MCOUNT_ADDR		((unsigned long)(__fentry__))
    13	#define MCOUNT_INSN_SIZE	5 /* sizeof mcount call */
    14	
    15	/* Ignore unused weak functions which will have non zero offsets */
    16	#ifdef CONFIG_HAVE_FENTRY
  > 17	# include <asm/ibt.h>
    18	/* Add offset for endbr64 if IBT enabled */
    19	# define FTRACE_MCOUNT_MAX_OFFSET	ENDBR_INSN_SIZE
    20	#endif
    21	

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

                 reply	other threads:[~2025-02-06 21:41 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=202502070504.4DtpgX6x-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.