Re: [Patch v2 3/5] RDMA/mana_ib : Add error eq and notification from SoC

From: kernel test robot
Date: Wed Jul 26 2023 - 11:12:41 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on rdma/for-next]
[also build test WARNING on linus/master v6.5-rc3 next-20230726]
[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/sharmaajay-linuxonhyperv-com/RDMA-mana-ib-Rename-all-mana_ib_dev-type-variables-to-mib_dev/20230726-115925
base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
patch link: https://lore.kernel.org/r/1690343820-20188-4-git-send-email-sharmaajay%40linuxonhyperv.com
patch subject: [Patch v2 3/5] RDMA/mana_ib : Add error eq and notification from SoC
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230726/202307262214.QoyNnN8T-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230726/202307262214.QoyNnN8T-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/202307262214.QoyNnN8T-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/infiniband/hw/mana/main.c:508:6: warning: no previous prototype for 'mana_ib_soc_event_handler' [-Wmissing-prototypes]
508 | void mana_ib_soc_event_handler(void *ctx, struct gdma_queue *queue,
| ^~~~~~~~~~~~~~~~~~~~~~~~~


vim +/mana_ib_soc_event_handler +508 drivers/infiniband/hw/mana/main.c

507
> 508 void mana_ib_soc_event_handler(void *ctx, struct gdma_queue *queue,
509 struct gdma_event *event)
510 {
511 struct mana_ib_dev *mib_dev = (struct mana_ib_dev *)ctx;
512
513 switch (event->type) {
514 case GDMA_EQE_SOC_EVENT_NOTIFICATION:
515 ibdev_info(&mib_dev->ib_dev, "Received SOC Notification");
516 break;
517 case GDMA_EQE_SOC_EVENT_TEST:
518 ibdev_info(&mib_dev->ib_dev, "Received SoC Test");
519 break;
520 default:
521 ibdev_err(&mib_dev->ib_dev, "Received unsolicited evt %d",
522 event->type);
523 }
524 }
525

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