CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Jason Yan <[email protected]>
CC: "Martin K. Petersen" <[email protected]>
CC: John Garry <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   7468cbf5c917ec48c66b0dd157b306f36345cab8
commit: e15f669cd996b85bb07b0e787fa78806477bf211 [2441/2932] scsi: libsas: 
Allow libsas to include SCSI header files directly
:::::: branch date: 2 hours ago
:::::: commit date: 30 hours ago
config: x86_64-randconfig-b001-20210722 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 
9625ca5b602616b2f5584e8a49ba93c52c141e40)
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=e15f669cd996b85bb07b0e787fa78806477bf211
        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 e15f669cd996b85bb07b0e787fa78806477bf211
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 
CHECK=iwyu O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/scsi/libsas/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


iwyu warnings: (new ones prefixed by >>)
   drivers/scsi/libsas/sas_ata.c:20:1: iwyu: warning: superfluous #include 
<scsi/scsi.h>
   drivers/scsi/libsas/sas_ata.c:18:1: iwyu: warning: superfluous #include 
<scsi/scsi_device.h>
   drivers/scsi/libsas/sas_ata.c:25:1: iwyu: warning: superfluous #include 
<scsi/scsi_eh.h>
   drivers/scsi/libsas/sas_ata.c:19:1: iwyu: warning: superfluous #include 
<scsi/scsi_tcq.h>
   drivers/scsi/libsas/sas_ata.c:21:1: iwyu: warning: superfluous #include 
<scsi/scsi_transport.h>
>> drivers/scsi/libsas/sas_ata.c:24:1: iwyu: warning: superfluous #include 
>> "scsi_transport_api.h"

vim +24 drivers/scsi/libsas/sas_ata.c

b91421749a1840 James Bottomley 2007-07-22  14  
338ec57003ff9d Darrick J. Wong 2006-10-18  15  #include <scsi/sas_ata.h>
338ec57003ff9d Darrick J. Wong 2006-10-18  16  #include "sas_internal.h"
338ec57003ff9d Darrick J. Wong 2006-10-18  17  #include <scsi/scsi_host.h>
338ec57003ff9d Darrick J. Wong 2006-10-18  18  #include <scsi/scsi_device.h>
338ec57003ff9d Darrick J. Wong 2006-10-18  19  #include <scsi/scsi_tcq.h>
338ec57003ff9d Darrick J. Wong 2006-10-18  20  #include <scsi/scsi.h>
338ec57003ff9d Darrick J. Wong 2006-10-18  21  #include <scsi/scsi_transport.h>
338ec57003ff9d Darrick J. Wong 2006-10-18  22  #include 
<scsi/scsi_transport_sas.h>
e15f669cd996b8 Jason Yan       2021-07-16  23  #include "scsi_sas_internal.h"
e15f669cd996b8 Jason Yan       2021-07-16 @24  #include "scsi_transport_api.h"
3a2755af37b317 Darrick J. Wong 2007-01-30  25  #include <scsi/scsi_eh.h>
338ec57003ff9d Darrick J. Wong 2006-10-18  26  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to