All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Eric Biggers <ebiggers@kernel.org>
Subject: [ardb:arm64-fpsimd-on-stack-v4 8/21] lib/crc/arm/crc-t10dif.h:22:81: error: expected ')' before '{' token
Date: Sun, 12 Oct 2025 01:20:17 +0800	[thread overview]
Message-ID: <202510120119.EhaHVPre-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-10-11 17:21 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=202510120119.EhaHVPre-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ardb@kernel.org \
    --cc=ebiggers@kernel.org \
    --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 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.