All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [kselftest:kunit-fixes 4/6] lib/kunit/executor.c:3:1: iwyu: warning: superfluous #include <linux/reboot.h>
Date: Tue, 15 Jun 2021 13:20:29 +0800	[thread overview]
Message-ID: <202106151326.CBzTY8t4-lkp@intel.com> (raw)

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

CC: kbuild-all(a)lists.01.org
TO: David Gow <davidgow@google.com>
CC: Shuah Khan <skhan@linuxfoundation.org>
CC: Brendan Higgins <brendanhiggins@google.com>
CC: Stephen Boyd <sboyd@kernel.org>
CC: Daniel Latypov <dlatypov@google.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git kunit-fixes
head:   87c9c16317882dd6dbbc07e349bc3223e14f3244
commit: b6d5799b0b5866dc63be7f032473dc536f865b4d [4/6] kunit: Add 'kunit_shutdown' option
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: x86_64-randconfig-b001-20210614 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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/shuah/linux-kselftest.git/commit/?id=b6d5799b0b5866dc63be7f032473dc536f865b4d
        git remote add kselftest https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git
        git fetch --no-tags kselftest kunit-fixes
        git checkout b6d5799b0b5866dc63be7f032473dc536f865b4d
        # 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 >>)
   lib/kunit/executor.c:4:1: iwyu: warning: superfluous #include <kunit/test.h>
   lib/kunit/executor.c:5:1: iwyu: warning: superfluous #include <linux/glob.h>
   lib/kunit/executor.c:6:1: iwyu: warning: superfluous #include <linux/moduleparam.h>
>> lib/kunit/executor.c:3:1: iwyu: warning: superfluous #include <linux/reboot.h>

vim +3 lib/kunit/executor.c

aac35468ca20a3 Alan Maguire   2020-08-04  2  
b6d5799b0b5866 David Gow      2021-05-26 @3  #include <linux/reboot.h>
aac35468ca20a3 Alan Maguire   2020-08-04  4  #include <kunit/test.h>
5d31f71efcb6bc Daniel Latypov 2021-02-05  5  #include <linux/glob.h>
5d31f71efcb6bc Daniel Latypov 2021-02-05  6  #include <linux/moduleparam.h>
aac35468ca20a3 Alan Maguire   2020-08-04  7  

---
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: 38322 bytes --]

                 reply	other threads:[~2021-06-15  5:20 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=202106151326.CBzTY8t4-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.