All of lore.kernel.org
 help / color / mirror / Atom feed
* [norov:find_and_clear_tmp1 42/46] net/smc/smc_wr.c:176:60: error: extraneous ')' before ';'
@ 2024-01-05  5:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-05  5:56 UTC (permalink / raw)
  To: Yury Norov; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-05  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05  5:56 [norov:find_and_clear_tmp1 42/46] net/smc/smc_wr.c:176:60: error: extraneous ')' before ';' kernel test robot

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.