[linux-next:master 9681/11253] drivers/cxl/pmem.c:6:1: iwyu: warning: superfluous #include <linux/slab.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e71e3a48a7e89fa71fb70bf4602367528864d2ff
commit: 8fdcb1704f61a8fd9be0f3849a174d084def0666 [9681/11253] cxl/pmem: Add initial infrastructure for pmem support
config: x86_64-randconfig-b001-20210620 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e1adf90826a57b674eee79b071fb46c1f5683cd0)
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/next/linux-next.git/commit/?id=8fdcb1704f61a8fd9be0f3849a174d084def0666
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 8fdcb1704f61a8fd9be0f3849a174d084def0666
        # 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@xxxxxxxxx>


iwyu warnings: (new ones prefixed by >>)
>> drivers/cxl/pmem.c:6:1: iwyu: warning: superfluous #include <linux/slab.h>

vim +6 drivers/cxl/pmem.c

8fdcb1704f61a8 Dan Williams 2021-06-15 @6  #include <linux/slab.h>
8fdcb1704f61a8 Dan Williams 2021-06-15  7  #include "cxl.h"
8fdcb1704f61a8 Dan Williams 2021-06-15  8  

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@xxxxxxxxxxxx
To unsubscribe send an email to kbuild-leave@xxxxxxxxxxxx

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux