All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [mhiramat:kprobes/kretprobe-stackfix-v6 11/13] arch/x86/kernel/unwind_frame.c:6:1: iwyu: warning: superfluous #include <linux/kprobes.h>
Date: Wed, 26 May 2021 21:59:28 +0800	[thread overview]
Message-ID: <202105262113.SFqgORtM-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2782 bytes --]

CC: kbuild-all(a)lists.01.org
CC: clang-built-linux(a)googlegroups.com
TO: Masami Hiramatsu <mhiramat@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git kprobes/kretprobe-stackfix-v6
head:   b00ac79b16912c6e48498a0931f9d02fe820a2e0
commit: f2edf24783d2b75ea2c56d28f6394976eea934d9 [11/13] x86/unwind: Recover kretprobe trampoline entry
:::::: branch date: 7 hours ago
:::::: commit date: 7 hours ago
config: x86_64-randconfig-b001-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # apt-get install iwyu # include-what-you-use
        # https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git/commit/?id=f2edf24783d2b75ea2c56d28f6394976eea934d9
        git remote add mhiramat https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git
        git fetch --no-tags mhiramat kprobes/kretprobe-stackfix-v6
        git checkout f2edf24783d2b75ea2c56d28f6394976eea934d9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


iwyu warnings: (new ones prefixed by >>)
   arch/x86/kernel/unwind_frame.c:9:1: iwyu: warning: superfluous #include <asm/bitops.h>
   arch/x86/kernel/unwind_frame.c:5:1: iwyu: warning: superfluous #include <linux/interrupt.h>
>> arch/x86/kernel/unwind_frame.c:6:1: iwyu: warning: superfluous #include <linux/kprobes.h>
   arch/x86/kernel/unwind_frame.c:3:1: iwyu: warning: superfluous #include <linux/sched/task.h>
   arch/x86/kernel/unwind_frame.c:4:1: iwyu: warning: superfluous #include <linux/sched/task_stack.h>

vim +6 arch/x86/kernel/unwind_frame.c

f2edf24783d2b7 Masami Hiramatsu 2021-05-24  @6  #include <linux/kprobes.h>
a8b7a92318b6d7 Josh Poimboeuf   2017-04-12   7  #include <asm/sections.h>
7c7900f89770d7 Josh Poimboeuf   2016-09-16   8  #include <asm/ptrace.h>
7c7900f89770d7 Josh Poimboeuf   2016-09-16  @9  #include <asm/bitops.h>
7c7900f89770d7 Josh Poimboeuf   2016-09-16  10  #include <asm/stacktrace.h>
7c7900f89770d7 Josh Poimboeuf   2016-09-16  11  #include <asm/unwind.h>
7c7900f89770d7 Josh Poimboeuf   2016-09-16  12  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34705 bytes --]

             reply	other threads:[~2021-05-26 13:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26 13:59 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-27  2:55 [mhiramat:kprobes/kretprobe-stackfix-v6 11/13] arch/x86/kernel/unwind_frame.c:6:1: iwyu: warning: superfluous #include <linux/kprobes.h> kernel test robot

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=202105262113.SFqgORtM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /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.