* [norov:find_and_bit 42/49] net/smc/smc_wr.c:176:67: error: expected ';' before ')' token
@ 2023-10-30 17:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-30 17:10 UTC (permalink / raw)
To: Yury Norov; +Cc: oe-kbuild-all
tree: https://github.com/norov/linux find_and_bit
head: e670db071725933fbfbf6b9df2cc73e8f5ee0e45
commit: 6b078494a96350e43cafa589dede077d67dc3845 [42/49] net: smc: fix opencoded find_and_set_bit() in smc_wr_tx_get_free_slot_index()
config: x86_64-buildonly-randconfig-003-20231030 (https://download.01.org/0day-ci/archive/20231031/202310310018.kFaCpFTW-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310310018.kFaCpFTW-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/202310310018.kFaCpFTW-lkp@intel.com/
All errors (new ones prefixed by >>):
net/smc/smc_wr.c: In function 'smc_wr_tx_get_free_slot_index':
>> net/smc/smc_wr.c:176:67: error: expected ';' before ')' token
176 | *idx = find_and_set_bit(link->wr_tx_mask, link->wr_tx_cnt));
| ^
| ;
>> net/smc/smc_wr.c:176:67: error: expected statement before ')' token
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:[~2023-10-30 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-30 17:10 [norov:find_and_bit 42/49] net/smc/smc_wr.c:176:67: error: expected ';' before ')' token 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.