drivers/scsi/mpi3mr/mpi3mr_transport.c:695: warning: Function parameter or member 'port_id' not described in 'mpi3mr_get_hba_port_by_id'

From: kernel test robot
Date: Thu Aug 17 2023 - 04:18:49 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4853c74bd7ab7fdb83f319bd9ace8a08c031e9b6
commit: 125ad1e6b445e8538e50d77d9c82ec811e98895e scsi: mpi3mr: Add helper functions to retrieve device objects
date: 12 months ago
config: microblaze-randconfig-r032-20230817 (https://download.01.org/0day-ci/archive/20230817/202308171606.rcBEycYE-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230817/202308171606.rcBEycYE-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308171606.rcBEycYE-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/scsi/mpi3mr/mpi3mr_transport.c:695: warning: Function parameter or member 'port_id' not described in 'mpi3mr_get_hba_port_by_id'


vim +695 drivers/scsi/mpi3mr/mpi3mr_transport.c

684
685 /**
686 * mpi3mr_get_hba_port_by_id - find hba port by id
687 * @mrioc: Adapter instance reference
688 * @port_id - Port ID to search
689 *
690 * Return: mpi3mr_hba_port reference for the matched port
691 */
692
693 struct mpi3mr_hba_port *mpi3mr_get_hba_port_by_id(struct mpi3mr_ioc *mrioc,
694 u8 port_id)
> 695 {

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