Hi Kashyap, I love your patch! Yet something to improve: [auto build test ERROR on mkp-scsi/for-next] [also build test ERROR on scsi/for-next v5.13-rc1 next-20210511] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Kashyap-Desai/Introducing-mpi3mr-driver/20210512-035400 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next config: csky-allyesconfig (attached as .config) compiler: csky-linux-gcc (GCC) 9.3.0 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 # https://github.com/0day-ci/linux/commit/78dec0086068df04260a681b710121cefb92c0b0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Kashyap-Desai/Introducing-mpi3mr-driver/20210512-035400 git checkout 78dec0086068df04260a681b710121cefb92c0b0 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=csky If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from drivers/scsi/mpi3mr/mpi/mpi30_api.h:15, from drivers/scsi/mpi3mr/mpi3mr.h:42, from drivers/scsi/mpi3mr/mpi3mr_os.c:10: >> drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h:422:51: error: 'mpi3_man9_rsrc_num_resources' undeclared here (not in a function); did you mean 'mpi3_man9_resources'? 422 | struct _mpi3_man9_rsrc_entry resource[mpi3_man9_rsrc_num_resources]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | mpi3_man9_resources Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for LOCKDEP Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86) Selected by - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT - LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT vim +422 drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h 396 397 #define MPI3_MAN9_MIN_OUTSTANDING_REQS (1) 398 #define MPI3_MAN9_MAX_OUTSTANDING_REQS (65000) 399 #define MPI3_MAN9_MIN_TARGET_CMDS (0) 400 #define MPI3_MAN9_MAX_TARGET_CMDS (65535) 401 #define MPI3_MAN9_MIN_SAS_TARGETS (0) 402 #define MPI3_MAN9_MAX_SAS_TARGETS (65535) 403 #define MPI3_MAN9_MIN_PCIE_TARGETS (0) 404 #define MPI3_MAN9_MIN_INITIATORS (0) 405 #define MPI3_MAN9_MAX_INITIATORS (65535) 406 #define MPI3_MAN9_MIN_ENCLOSURES (0) 407 #define MPI3_MAN9_MAX_ENCLOSURES (65535) 408 #define MPI3_MAN9_MIN_ENCLOSURE_PHYS (0) 409 #define MPI3_MAN9_MIN_EXPANDERS (0) 410 #define MPI3_MAN9_MAX_EXPANDERS (65535) 411 #define MPI3_MAN9_MIN_PCIE_SWITCHES (0) 412 struct _mpi3_man_page9 { 413 struct _mpi3_config_page_header header; 414 u8 num_resources; 415 u8 reserved09; 416 __le16 reserved0a; 417 __le32 reserved0c; 418 __le32 reserved10; 419 __le32 reserved14; 420 __le32 reserved18; 421 __le32 reserved1c; > 422 struct _mpi3_man9_rsrc_entry resource[mpi3_man9_rsrc_num_resources]; 423 }; 424 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip