All of lore.kernel.org
 help / color / mirror / Atom feed
* security/landlock/syscalls.c:16:1: iwyu: warning: superfluous #include <linux/errno.h>
@ 2021-06-25 18:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-25 18:45 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: "Mickaël Salaün" <mic@linux.microsoft.com>
CC: James Morris <jamorris@linux.microsoft.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   44db63d1ad8d71c6932cbe007eb41f31c434d140
commit: 265885daf3e5082eb9f6e2a23bdbf9ba4456a21b landlock: Add syscall implementations
date:   9 weeks ago
:::::: branch date: 22 hours ago
:::::: commit date: 9 weeks ago
config: x86_64-randconfig-b001-20210623 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b259740801d3515810ecc15bf0c24b0d476a1608)
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/torvalds/linux.git/commit/?id=265885daf3e5082eb9f6e2a23bdbf9ba4456a21b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 265885daf3e5082eb9f6e2a23bdbf9ba4456a21b
        # 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 >>)
>> security/landlock/syscalls.c:16:1: iwyu: warning: superfluous #include <linux/errno.h>
>> security/landlock/syscalls.c:18:1: iwyu: warning: superfluous #include <linux/limits.h>
>> security/landlock/syscalls.c:22:1: iwyu: warning: superfluous #include <linux/security.h>

vim +16 security/landlock/syscalls.c

265885daf3e508 Mickaël Salaün 2021-04-22 @16  #include <linux/errno.h>
265885daf3e508 Mickaël Salaün 2021-04-22  17  #include <linux/fs.h>
265885daf3e508 Mickaël Salaün 2021-04-22 @18  #include <linux/limits.h>
265885daf3e508 Mickaël Salaün 2021-04-22  19  #include <linux/mount.h>
265885daf3e508 Mickaël Salaün 2021-04-22  20  #include <linux/path.h>
265885daf3e508 Mickaël Salaün 2021-04-22  21  #include <linux/sched.h>
265885daf3e508 Mickaël Salaün 2021-04-22 @22  #include <linux/security.h>
265885daf3e508 Mickaël Salaün 2021-04-22  23  #include <linux/stddef.h>
265885daf3e508 Mickaël Salaün 2021-04-22  24  #include <linux/syscalls.h>
265885daf3e508 Mickaël Salaün 2021-04-22  25  #include <linux/types.h>
265885daf3e508 Mickaël Salaün 2021-04-22  26  #include <linux/uaccess.h>
265885daf3e508 Mickaël Salaün 2021-04-22  27  #include <uapi/linux/landlock.h>
265885daf3e508 Mickaël Salaün 2021-04-22  28  

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-25 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 18:45 security/landlock/syscalls.c:16:1: iwyu: warning: superfluous #include <linux/errno.h> kernel test robot

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.