public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Konstantin Taranov <kotaranov@microsoft.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Doug Ledford <dledford@redhat.com>,
	Jason Gunthorpe <jgg+lists@ziepe.ca>,
	linux-rdma@vger.kernel.org, Leon Romanovsky <leon@kernel.org>
Subject: [rdma:wip/leon-for-next 47/53] drivers/infiniband/hw/mana/main.c:696:3: error: expected ')'
Date: Fri, 20 Mar 2026 19:21:48 +0800	[thread overview]
Message-ID: <202603201909.6pvOE0KP-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-03-20 11:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202603201909.6pvOE0KP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dledford@redhat.com \
    --cc=jgg+lists@ziepe.ca \
    --cc=kotaranov@microsoft.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox