Re: [PATCH v1 4/6] mpi3mr: Trigger support

kernel test robot
2024-05-15T12:03:43Z

Hi Ranjan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on mkp-scsi/for-next]
[also build test WARNING on jejb-scsi/for-next linus/master next-20240515]
[cannot apply to v6.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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Ranjan-Kumar/mpi3mr-HDB-allocation-and-posting-for-hardware-and-Firmware-buffers/20240514-223346
base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
patch link: https://lore.kernel.org/r/20240514142858.51992-5-ranjan.kumar%40broadcom.com
patch subject: [PATCH v1 4/6] mpi3mr: Trigger support
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240515/202405151955.BiAWI1SY-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240515/202405151955.BiAWI1SY-lkp@intel.com/reproduce)

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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405151955.BiAWI1SY-lkp@intel.com/

All warnings (new ones prefixed by >>):

drivers/scsi/mpi3mr/mpi3mr_app.c:717: warning: Function parameter or struct member 'trigger_data' not described in 'mpi3mr_set_trigger_data_in_hdb'
drivers/scsi/mpi3mr/mpi3mr_app.c:717: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_hdb'
>> drivers/scsi/mpi3mr/mpi3mr_app.c:743: warning: Function parameter or struct member 'trigger_data' not described in 'mpi3mr_set_trigger_data_in_all_hdb'
>> drivers/scsi/mpi3mr/mpi3mr_app.c:743: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb'

vim +743 drivers/scsi/mpi3mr/mpi3mr_app.c

726
727 /**
728 * mpi3mr_set_trigger_data_in_all_hdb - Updates HDB trigger type
729 * and trigger data for all HDB
730 *
731 * @mrioc: Adapter instance reference
732 * @type: Trigger type
733 * @data: Trigger data
734 * @force: Trigger overwrite flag
735 *
736 * Updates trigger type and trigger data based on parameter
737 * passed to this function
738 *
739 * Return: Nothing
740 */
741 void mpi3mr_set_trigger_data_in_all_hdb(struct mpi3mr_ioc *mrioc,
742 u8 type, union mpi3mr_trigger_data *trigger_data, bool force)
> 743 {
744 struct diag_buffer_desc *hdb = NULL;
745
746 hdb = mpi3mr_diag_buffer_for_type(mrioc, MPI3_DIAG_BUFFER_TYPE_TRACE);
747 if (hdb)
748 mpi3mr_set_trigger_data_in_hdb(hdb, type, trigger_data, force);
749 hdb = mpi3mr_diag_buffer_for_type(mrioc, MPI3_DIAG_BUFFER_TYPE_FW);
750 if (hdb)
751 mpi3mr_set_trigger_data_in_hdb(hdb, type, trigger_data, force);
752 }
753

--
0-DAY CI Kernel Test Service