All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yury Norov <yury.norov@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [norov:find_and_clear_tmp1 42/46] net/smc/smc_wr.c:176:60: error: extraneous ')' before ';'
Date: Fri, 5 Jan 2024 13:56:28 +0800	[thread overview]
Message-ID: <202401051351.WPFIO341-lkp@intel.com> (raw)

tree:   https://github.com/norov/linux find_and_clear_tmp1
head:   62bfd93b1d4bc92cd171973923c45a2b011f1c5c
commit: 5aabc44128937b7dd8079cada0381ea5af59aa20 [42/46] net: smc: fix opencoded find_and_set_bit() in smc_wr_tx_get_free_slot_index()
config: powerpc64-allyesconfig (https://download.01.org/0day-ci/archive/20240105/202401051351.WPFIO341-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240105/202401051351.WPFIO341-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/202401051351.WPFIO341-lkp@intel.com/

All errors (new ones prefixed by >>):

>> net/smc/smc_wr.c:176:60: error: extraneous ')' before ';'
     176 |         *idx = find_and_set_bit(link->wr_tx_mask, link->wr_tx_cnt));
         |                                                                   ^
   1 error generated.


vim +176 net/smc/smc_wr.c

   170	
   171	static inline int smc_wr_tx_get_free_slot_index(struct smc_link *link, u32 *idx)
   172	{
   173		if (!smc_link_sendable(link))
   174			return -ENOLINK;
   175	
 > 176		*idx = find_and_set_bit(link->wr_tx_mask, link->wr_tx_cnt));
   177		return *idx < link->wr_tx_cnt ? 0 : -EBUSY;
   178	}
   179	

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

                 reply	other threads:[~2024-01-05  5:57 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=202401051351.WPFIO341-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yury.norov@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.