* [rdma:wip/leon-for-next 47/53] drivers/infiniband/hw/mana/main.c:696:3: error: expected ')'
@ 2026-03-20 11:21 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-20 11:21 UTC (permalink / raw)
To: Konstantin Taranov
Cc: llvm, oe-kbuild-all, Doug Ledford, Jason Gunthorpe, linux-rdma,
Leon Romanovsky
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/leon-for-next
head: 90b7abe25ce9b8ea6b97c534cb0f037155013bb8
commit: 684603da1e156756affe3a9f6070428d72dcf944 [47/53] RDMA/mana_ib: cleanup the usage of mana_gd_send_request()
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20260320/202603201909.6pvOE0KP-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260320/202603201909.6pvOE0KP-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/202603201909.6pvOE0KP-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/infiniband/hw/mana/main.c:696:3: error: expected ')'
696 | return err;
| ^
drivers/infiniband/hw/mana/main.c:695:5: note: to match this '('
695 | if (err
| ^
1 error generated.
vim +696 drivers/infiniband/hw/mana/main.c
98b889c43935c4 Konstantin Taranov 2024-04-10 682
c390828d4d7b45 Konstantin Taranov 2025-05-07 683 int mana_eth_query_adapter_caps(struct mana_ib_dev *dev)
c390828d4d7b45 Konstantin Taranov 2025-05-07 684 {
c390828d4d7b45 Konstantin Taranov 2025-05-07 685 struct mana_ib_adapter_caps *caps = &dev->adapter_caps;
c390828d4d7b45 Konstantin Taranov 2025-05-07 686 struct gdma_query_max_resources_resp resp = {};
c390828d4d7b45 Konstantin Taranov 2025-05-07 687 struct gdma_general_req req = {};
c390828d4d7b45 Konstantin Taranov 2025-05-07 688 int err;
c390828d4d7b45 Konstantin Taranov 2025-05-07 689
c390828d4d7b45 Konstantin Taranov 2025-05-07 690 mana_gd_init_req_hdr(&req.hdr, GDMA_QUERY_MAX_RESOURCES,
c390828d4d7b45 Konstantin Taranov 2025-05-07 691 sizeof(req), sizeof(resp));
c390828d4d7b45 Konstantin Taranov 2025-05-07 692
684603da1e1567 Konstantin Taranov 2026-03-18 693 err = mana_gd_send_request(mdev_to_gc(dev), sizeof(req), &req,
684603da1e1567 Konstantin Taranov 2026-03-18 694 sizeof(resp), &resp);
684603da1e1567 Konstantin Taranov 2026-03-18 695 if (err
c390828d4d7b45 Konstantin Taranov 2025-05-07 @696 return err;
c390828d4d7b45 Konstantin Taranov 2025-05-07 697
c390828d4d7b45 Konstantin Taranov 2025-05-07 698 caps->max_qp_count = min_t(u32, resp.max_sq, resp.max_rq);
c390828d4d7b45 Konstantin Taranov 2025-05-07 699 caps->max_cq_count = resp.max_cq;
c390828d4d7b45 Konstantin Taranov 2025-05-07 700 caps->max_mr_count = resp.max_mst;
c390828d4d7b45 Konstantin Taranov 2025-05-07 701 caps->max_pd_count = 0x6000;
c390828d4d7b45 Konstantin Taranov 2025-05-07 702 caps->max_qp_wr = min_t(u32,
c390828d4d7b45 Konstantin Taranov 2025-05-07 703 0x100000 / GDMA_MAX_SQE_SIZE,
c390828d4d7b45 Konstantin Taranov 2025-05-07 704 0x100000 / GDMA_MAX_RQE_SIZE);
c390828d4d7b45 Konstantin Taranov 2025-05-07 705 caps->max_send_sge_count = 30;
c390828d4d7b45 Konstantin Taranov 2025-05-07 706 caps->max_recv_sge_count = 15;
c390828d4d7b45 Konstantin Taranov 2025-05-07 707 caps->page_size_cap = PAGE_SZ_BM;
c390828d4d7b45 Konstantin Taranov 2025-05-07 708
c390828d4d7b45 Konstantin Taranov 2025-05-07 709 return 0;
c390828d4d7b45 Konstantin Taranov 2025-05-07 710 }
c390828d4d7b45 Konstantin Taranov 2025-05-07 711
:::::: The code at line 696 was first introduced by commit
:::::: c390828d4d7b453c21c6fc0787c714db82731093 RDMA/mana_ib: Add support of mana_ib for RNIC and ETH nic
:::::: TO: Konstantin Taranov <kotaranov@microsoft.com>
:::::: CC: Leon Romanovsky <leon@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-20 11:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 11:21 [rdma:wip/leon-for-next 47/53] drivers/infiniband/hw/mana/main.c:696:3: error: expected ')' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox