Hi Kashyap, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20201015] [cannot apply to scsi/for-next mkp-scsi/for-next v5.9 v5.9-rc8 v5.9-rc7 v5.9] [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/io_uring-iopoll-in-scsi-layer/20201015-213946 base: 03d992bd2de6c7f2c9bbd4260ff104c0926ce3ff config: riscv-randconfig-r026-20201015 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project e7b4feea8e1bf520b34ad8c116abab6677344b74) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/0day-ci/linux/commit/011c9682f4ab6651d3b56e7bb819b6605e1f8d32 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Kashyap-Desai/io_uring-iopoll-in-scsi-layer/20201015-213946 git checkout 011c9682f4ab6651d3b56e7bb819b6605e1f8d32 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/scsi/megaraid/megaraid_sas_fusion.c:3652:5: warning: no previous prototype for function 'megasas_blk_mq_poll' [-Wmissing-prototypes] int megasas_blk_mq_poll(struct Scsi_Host *shost, unsigned int queue_num) ^ drivers/scsi/megaraid/megaraid_sas_fusion.c:3652:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int megasas_blk_mq_poll(struct Scsi_Host *shost, unsigned int queue_num) ^ static 1 warning generated. vim +/megasas_blk_mq_poll +3652 drivers/scsi/megaraid/megaraid_sas_fusion.c 3651 > 3652 int megasas_blk_mq_poll(struct Scsi_Host *shost, unsigned int queue_num) 3653 { 3654 3655 struct megasas_instance *instance; 3656 int num_entries = 0; 3657 struct fusion_context *fusion; 3658 3659 instance = (struct megasas_instance *)shost->hostdata; 3660 3661 fusion = instance->ctrl_context; 3662 3663 queue_num = queue_num + instance->low_latency_index_start; 3664 3665 if (!atomic_add_unless(&fusion->busy_mq_poll[queue_num], 1, 1)) 3666 return 0; 3667 3668 num_entries = complete_cmd_fusion(instance, queue_num, NULL); 3669 atomic_dec(&fusion->busy_mq_poll[queue_num]); 3670 3671 return num_entries; 3672 } 3673 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip