* [ardb:arm64-fpsimd-on-stack-v4 8/21] lib/crc/arm/crc-t10dif.h:22:81: error: expected ')' before '{' token
@ 2025-10-11 17:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-11 17:20 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: oe-kbuild-all, Eric Biggers
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git arm64-fpsimd-on-stack-v4
head: 4924331534c3687fd56cd3b5a0c2432cf3c0b4c3
commit: a563dcdce73e7c95ab0bda641dd9fe29c7d70c9e [8/21] lib/crc: Switch ARM and arm64 to 'ksimd' scoped guard API
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20251012/202510120119.EhaHVPre-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251012/202510120119.EhaHVPre-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/202510120119.EhaHVPre-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from lib/crc/crc-t10dif-main.c:63:
lib/crc/arm/crc-t10dif.h: In function 'crc_t10dif_arch':
>> lib/crc/arm/crc-t10dif.h:22:81: error: expected ')' before '{' token
22 | if (static_branch_likely(&have_pmull) && likely(may_use_simd()) {
| ~ ^
>> lib/crc/arm/crc-t10dif.h:35:9: error: expected expression before '}' token
35 | }
| ^
vim +22 lib/crc/arm/crc-t10dif.h
14
15 asmlinkage u16 crc_t10dif_pmull64(u16 init_crc, const u8 *buf, size_t len);
16 asmlinkage void crc_t10dif_pmull8(u16 init_crc, const u8 *buf, size_t len,
17 u8 out[16]);
18
19 static inline u16 crc_t10dif_arch(u16 crc, const u8 *data, size_t length)
20 {
21 if (length >= CRC_T10DIF_PMULL_CHUNK_SIZE) {
> 22 if (static_branch_likely(&have_pmull) && likely(may_use_simd()) {
23 scoped_ksimd()
24 return crc_t10dif_pmull64(crc, data, length);
25 } else if (length > CRC_T10DIF_PMULL_CHUNK_SIZE &&
26 static_branch_likely(&have_neon) &&
27 likely(may_use_simd())) {
28 u8 buf[16] __aligned(16);
29
30 scoped_ksimd()
31 crc_t10dif_pmull8(crc, data, length, buf);
32
33 return crc_t10dif_generic(0, buf, sizeof(buf));
34 }
> 35 }
36 return crc_t10dif_generic(crc, data, length);
37 }
38
--
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:[~2025-10-11 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-11 17:20 [ardb:arm64-fpsimd-on-stack-v4 8/21] lib/crc/arm/crc-t10dif.h:22:81: 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.