Re: [PATCH 5/9] scsi: bht: include: Add the header files related to Bayhub specific struct, enum and macro

From: kernel test robot
Date: Sun Oct 22 2023 - 21:01:29 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 401644852d0b2a278811de38081be23f74b5bb04]

url: https://github.com/intel-lab-lkp/linux/commits/liuchang_125125-163-com/scsi-Update-Kconfig-and-Makefile-for-supporting-Bayhub-s-SD-MMC-Card-interface-driver/20231017-123349
base: 401644852d0b2a278811de38081be23f74b5bb04
patch link: https://lore.kernel.org/r/20231013083358.10313-1-liuchang_125125%40163.com
patch subject: [PATCH 5/9] scsi: bht: include: Add the header files related to Bayhub specific struct, enum and macro
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <yujie.liu@xxxxxxxxx>
| Closes: https://lore.kernel.org/r/202310230123.kYU8vEt2-lkp@xxxxxxxxx/

includecheck warnings: (new ones prefixed by >>)
>> drivers/scsi/bht/include/basic.h: linux/delay.h is included more than once.

vim +35 drivers/scsi/bht/include/basic.h

24
25 #include <asm/io.h>
26 #include <asm/uaccess.h>
27 #include <asm/page.h>
28 #include <asm/byteorder.h>
29 #include <linux/stddef.h>
30 #include <linux/string.h>
31 #include <linux/errno.h>
32 #include <linux/kernel.h>
33 #include <linux/ioport.h>
34 #include <linux/slab.h>
> 35 #include <linux/delay.h>
36 #include <linux/pci.h>
37 #include <linux/proc_fs.h>
38 #include <linux/reboot.h>
39 #include <linux/interrupt.h>
40 #include <linux/types.h>
41 #include <scsi/sg.h>
42 #include <linux/stat.h>
43 #include <linux/spinlock.h>
44 #include <linux/sched.h>
45 #include <linux/spinlock_types.h>
46 #include <linux/semaphore.h>
47 #include <linux/completion.h>
> 48 #include <linux/delay.h>
49 #include <linux/kdev_t.h>
50 #include <linux/highmem.h>
51 #include <linux/export.h>
52 #include <linux/wait.h>
53 #include <scsi/scsi_host.h>
54 #include <scsi/scsi_cmnd.h>
55 #include <scsi/scsi_device.h>
56 #include <scsi/scsi.h>
57

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki