* Re: arm64: csum: Add fused copy and Internet checksum
@ 2026-10-01 17:10 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-01 17:10 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check warning: arch/arm64/lib/csum-copy-neon.c:91:9: sparse: sparse: Trying to use reserved word 'if' as identifier"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <202610011906.fcPTzknP-lkp@intel.com>
References: <202610011906.fcPTzknP-lkp@intel.com>
Hi Demian,
kernel test robot noticed the following build warnings:
url: https://github.com/intel-lab-lkp/linux/commits/Demian-Shulhan/arm64-csum-Add-fused-copy-and-Internet-checksum/20260927-151757
base:
patch link: https://lore.kernel.org/r/202610011906.fcPTzknP-lkp%40intel.com
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: arm64-randconfig-r2301-20261001 (https://download.01.org/0day-ci/archive/20261001/202610011906.fcPTzknP-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610011906.fcPTzknP-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/r/202610011906.fcPTzknP-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: got .
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: got .
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: Expected ) in function call
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: Expected ) in function call
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: Expected ) in function call
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: Expected ) in function declarator
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: got (
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34568:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: got __o
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: Expected ) in function declarator
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: got (
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34570:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got .
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got .
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got .
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got .
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ) in function call
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ) in function call
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ) in function call
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ) in function call
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got __temp
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ) in function declarator
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got (
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34571:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: Expected ; at end of declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: got __o
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: Expected ) in function declarator
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: got (
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34573:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34587:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34587:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34594:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34594:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34601:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34601:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34609:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34609:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34617:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34617:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34625:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34625:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34632:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34632:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34640:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34640:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34648:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34648:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34656:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34656:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34665:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34665:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34672:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34672:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34679:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34679:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34688:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34688:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34695:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34695:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34702:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34702:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34709:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34709:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34716:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34716:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34723:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34723:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34730:1: sparse: sparse: Expected ; at the end of type declaration
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:34730:1: sparse: sparse: got }
arch/arm64/lib/csum-copy-neon.c:71:35: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:71:35: sparse: sparse: got words_sum
arch/arm64/lib/csum-copy-neon.c:74:1: sparse: sparse: Expected ; at the end of type declaration
arch/arm64/lib/csum-copy-neon.c:74:1: sparse: sparse: got }
arch/arm64/lib/csum-copy-neon.c:80:1: sparse: sparse: Expected ; at the end of type declaration
arch/arm64/lib/csum-copy-neon.c:80:1: sparse: sparse: got }
arch/arm64/lib/csum-copy-neon.c:86:20: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:86:20: sparse: sparse: got acc0
>> arch/arm64/lib/csum-copy-neon.c:91:9: sparse: sparse: Trying to use reserved word 'if' as identifier
>> arch/arm64/lib/csum-copy-neon.c:91:13: sparse: sparse: missing type declaration for parameter 'tail'
arch/arm64/lib/csum-copy-neon.c:93:28: sparse: sparse: Expected ; at end of statement
arch/arm64/lib/csum-copy-neon.c:93:28: sparse: sparse: got v
arch/arm64/lib/csum-copy-neon.c:102:9: sparse: sparse: Trying to use reserved word 'if' as identifier
>> arch/arm64/lib/csum-copy-neon.c:102:13: sparse: sparse: missing type declaration for parameter 'head'
arch/arm64/lib/csum-copy-neon.c:103:28: sparse: sparse: Expected ; at end of statement
arch/arm64/lib/csum-copy-neon.c:103:28: sparse: sparse: got v
>> arch/arm64/lib/csum-copy-neon.c:116:9: sparse: sparse: Trying to use reserved word 'do' as identifier
arch/arm64/lib/csum-copy-neon.c:116:12: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:116:12: sparse: sparse: got {
arch/arm64/lib/csum-copy-neon.c:118:28: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:118:28: sparse: sparse: got v1
arch/arm64/lib/csum-copy-neon.c:119:28: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:119:28: sparse: sparse: got v2
arch/arm64/lib/csum-copy-neon.c:120:28: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:120:28: sparse: sparse: got v3
arch/arm64/lib/csum-copy-neon.c:121:28: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:121:28: sparse: sparse: got t0
arch/arm64/lib/csum-copy-neon.c:124:28: sparse: sparse: Expected ) in function declarator
arch/arm64/lib/csum-copy-neon.c:124:28: sparse: sparse: got +
arch/arm64/lib/csum-copy-neon.c:125:28: sparse: sparse: Expected ) in function declarator
arch/arm64/lib/csum-copy-neon.c:125:28: sparse: sparse: got +
arch/arm64/lib/csum-copy-neon.c:126:28: sparse: sparse: Expected ) in function declarator
arch/arm64/lib/csum-copy-neon.c:126:28: sparse: sparse: got +
arch/arm64/lib/csum-copy-neon.c:135:19: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:135:19: sparse: sparse: got +=
arch/arm64/lib/csum-copy-neon.c:136:19: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:136:19: sparse: sparse: got +=
arch/arm64/lib/csum-copy-neon.c:137:21: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:137:21: sparse: sparse: got -=
arch/arm64/lib/csum-copy-neon.c:138:9: sparse: sparse: Expected ; at the end of type declaration
arch/arm64/lib/csum-copy-neon.c:138:9: sparse: sparse: got }
arch/arm64/lib/csum-copy-neon.c:140:17: sparse: sparse: Expected ) in function declarator
arch/arm64/lib/csum-copy-neon.c:140:17: sparse: sparse: got &
arch/arm64/lib/csum-copy-neon.c:140:9: sparse: sparse: Trying to use reserved word 'if' as identifier
arch/arm64/lib/csum-copy-neon.c:142:28: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:142:28: sparse: sparse: got v1
arch/arm64/lib/csum-copy-neon.c:145:28: sparse: sparse: Expected ) in function declarator
arch/arm64/lib/csum-copy-neon.c:145:28: sparse: sparse: got +
arch/arm64/lib/csum-copy-neon.c:148:19: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:148:19: sparse: sparse: got +=
arch/arm64/lib/csum-copy-neon.c:149:19: sparse: sparse: Expected ; at end of declaration
arch/arm64/lib/csum-copy-neon.c:149:19: sparse: sparse: got +=
arch/arm64/lib/csum-copy-neon.c:150:9: sparse: sparse: Expected ; at the end of type declaration
arch/arm64/lib/csum-copy-neon.c:150:9: sparse: sparse: got }
arch/arm64/lib/csum-copy-neon.c:156:9: sparse: sparse: Expected ; at the end of type declaration
arch/arm64/lib/csum-copy-neon.c:156:9: sparse: sparse: got }
arch/arm64/lib/csum-copy-neon.c:160:18: sparse: sparse: Expected ) in function declarator
arch/arm64/lib/csum-copy-neon.c:160:18: sparse: sparse: got &
arch/arm64/lib/csum-copy-neon.c:160:9: sparse: sparse: Trying to use reserved word 'if' as identifier
arch/arm64/lib/csum-copy-neon.c:165:9: sparse: sparse: Expected ; at the end of type declaration
arch/arm64/lib/csum-copy-neon.c:165:9: sparse: sparse: got }
arch/arm64/lib/csum-copy-neon.c:168:1: sparse: sparse: Expected ; at the end of type declaration
arch/arm64/lib/csum-copy-neon.c:168:1: sparse: sparse: got }
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3164:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3164:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3171:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3171:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3178:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3178:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3185:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3185:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3192:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3192:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3199:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3199:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3206:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3206:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3213:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3213:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3220:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3220:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3227:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3227:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3234:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3234:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3241:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3241:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3248:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3248:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3255:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3255:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3264:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3264:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3271:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3271:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3278:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3278:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3285:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3285:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3292:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3292:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3299:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3299:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3306:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3306:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3313:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3313:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3320:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3320:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3327:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3327:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3334:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3334:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3341:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3341:10: sparse: sparse: bad constant expression type
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3348:10: sparse: sparse: undefined identifier '__b'
../lib/gcc/aarch64-linux/11.5.0/include/arm_neon.h:3348:10: sparse: sparse: bad constant expression type
vim +/if +91 arch/arm64/lib/csum-copy-neon.c
15b4870d68269b Demian Shulhan 2026-09-27 81
15b4870d68269b Demian Shulhan 2026-09-27 82 __wsum __csum_partial_copy_neon(const void *src, void *dst, int len)
15b4870d68269b Demian Shulhan 2026-09-27 83 {
15b4870d68269b Demian Shulhan 2026-09-27 84 const u8 *s = src;
15b4870d68269b Demian Shulhan 2026-09-27 85 u8 *d = dst;
15b4870d68269b Demian Shulhan 2026-09-27 86 uint64x2_t acc0 = { }, acc1 = { };
15b4870d68269b Demian Shulhan 2026-09-27 87 unsigned int head = -(unsigned long)d & 15;
15b4870d68269b Demian Shulhan 2026-09-27 88 unsigned int tail = (len - head) & 15;
15b4870d68269b Demian Shulhan 2026-09-27 89 u32 sum;
15b4870d68269b Demian Shulhan 2026-09-27 90
15b4870d68269b Demian Shulhan 2026-09-27 @91 if (tail) {
15b4870d68269b Demian Shulhan 2026-09-27 92 /* Final vector, ending exactly at the buffer end; see above */
15b4870d68269b Demian Shulhan 2026-09-27 93 uint8x16_t v = vld1q_u8(s + len - 16);
15b4870d68269b Demian Shulhan 2026-09-27 94
15b4870d68269b Demian Shulhan 2026-09-27 95 vst1q_u8(d + len - 16, v);
15b4870d68269b Demian Shulhan 2026-09-27 96 v &= vld1q_u8(csum_copy_mask + tail);
15b4870d68269b Demian Shulhan 2026-09-27 97 if (tail & 1)
15b4870d68269b Demian Shulhan 2026-09-27 98 v = vrev16q_u8(v); /* odd tail: match loop grid */
15b4870d68269b Demian Shulhan 2026-09-27 99 acc1 = vpadalq_u32(acc1, words_sum(v));
15b4870d68269b Demian Shulhan 2026-09-27 100 }
15b4870d68269b Demian Shulhan 2026-09-27 101
15b4870d68269b Demian Shulhan 2026-09-27 @102 if (head) {
15b4870d68269b Demian Shulhan 2026-09-27 103 uint8x16_t v = vld1q_u8(s);
15b4870d68269b Demian Shulhan 2026-09-27 104
15b4870d68269b Demian Shulhan 2026-09-27 105 vst1q_u8(d, v);
15b4870d68269b Demian Shulhan 2026-09-27 106 v &= vld1q_u8(csum_copy_mask + 32 - head);
15b4870d68269b Demian Shulhan 2026-09-27 107 if (head & 1)
15b4870d68269b Demian Shulhan 2026-09-27 108 v = vrev16q_u8(v); /* odd head: match loop grid */
15b4870d68269b Demian Shulhan 2026-09-27 109 acc0 = vpadalq_u32(acc0, words_sum(v));
15b4870d68269b Demian Shulhan 2026-09-27 110
15b4870d68269b Demian Shulhan 2026-09-27 111 s += head;
15b4870d68269b Demian Shulhan 2026-09-27 112 d += head;
15b4870d68269b Demian Shulhan 2026-09-27 113 len -= head;
15b4870d68269b Demian Shulhan 2026-09-27 114 }
15b4870d68269b Demian Shulhan 2026-09-27 115
15b4870d68269b Demian Shulhan 2026-09-27 @116 do {
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: arm64: csum: Add fused copy and Internet checksum
@ 2026-10-05 12:46 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-05 12:46 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
Unfiltered warning: this smatch report is sent as-is and has not been
reviewed for false positives, so please treat it with due skepticism.
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <202610051422.TPjuBOMt-lkp@intel.com>
References: <202610051422.TPjuBOMt-lkp@intel.com>
Hi Demian,
kernel test robot noticed the following build warnings:
url: https://github.com/intel-lab-lkp/linux/commits/Demian-Shulhan/arm64-csum-Add-fused-copy-and-Internet-checksum/20260927-151757
base:
patch link: https://lore.kernel.org/r/202610051422.TPjuBOMt-lkp%40intel.com
:::::: branch date: 8 days ago
:::::: commit date: 8 days ago
config: arm64-randconfig-r2200-20261003 (https://download.01.org/0day-ci/archive/20261005/202610051422.TPjuBOMt-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 16.1.0
smatch: v0.5.0-9187-g5189e3fb
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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202610051422.TPjuBOMt-lkp@intel.com/
New smatch warnings:
arch/arm64/lib/csum-copy-neon.c:93 (null)() warn: statement has no effect 'uint8x16_t'
Old smatch warnings:
arch/arm64/lib/csum-copy-neon.c:103 (null)() warn: statement has no effect 'uint8x16_t'
vim +/uint8x16_t +93 arch/arm64/lib/csum-copy-neon.c
15b4870d68269b Demian Shulhan 2026-09-27 81
15b4870d68269b Demian Shulhan 2026-09-27 82 __wsum __csum_partial_copy_neon(const void *src, void *dst, int len)
15b4870d68269b Demian Shulhan 2026-09-27 83 {
15b4870d68269b Demian Shulhan 2026-09-27 84 const u8 *s = src;
15b4870d68269b Demian Shulhan 2026-09-27 85 u8 *d = dst;
15b4870d68269b Demian Shulhan 2026-09-27 86 uint64x2_t acc0 = { }, acc1 = { };
15b4870d68269b Demian Shulhan 2026-09-27 87 unsigned int head = -(unsigned long)d & 15;
15b4870d68269b Demian Shulhan 2026-09-27 88 unsigned int tail = (len - head) & 15;
15b4870d68269b Demian Shulhan 2026-09-27 89 u32 sum;
15b4870d68269b Demian Shulhan 2026-09-27 90
15b4870d68269b Demian Shulhan 2026-09-27 91 if (tail) {
15b4870d68269b Demian Shulhan 2026-09-27 92 /* Final vector, ending exactly at the buffer end; see above */
15b4870d68269b Demian Shulhan 2026-09-27 @93 uint8x16_t v = vld1q_u8(s + len - 16);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-05 12:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-01 17:10 arm64: csum: Add fused copy and Internet checksum kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-10-05 12:46 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.