From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [PATCH v4 09/24] seqlock: Extend seqcount API with associated locks
Date: Tue, 21 Jul 2020 09:16:58 +0800 [thread overview]
Message-ID: <202007210940.Hxud8ZD0%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 35861 bytes --]
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200720155530.1173732-10-a.darwish@linutronix.de>
References: <20200720155530.1173732-10-a.darwish@linutronix.de>
TO: "Ahmed S. Darwish" <a.darwish@linutronix.de>
Hi "Ahmed,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on a9232dc5607dbada801f2fe83ea307cda762969a]
url: https://github.com/0day-ci/linux/commits/Ahmed-S-Darwish/seqlock-Extend-seqcount-API-with-associated-locks/20200721-003655
base: a9232dc5607dbada801f2fe83ea307cda762969a
:::::: branch date: 9 hours ago
:::::: commit date: 9 hours ago
config: s390-randconfig-s032-20200719 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-49-g707c5017-dirty
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
net/core/dev.c:156:18: sparse: sparse: symbol 'ptype_base' was not declared. Should it be static?
net/core/dev.c:157:18: sparse: sparse: symbol 'ptype_all' was not declared. Should it be static?
net/core/dev.c:2422:19: sparse: sparse: symbol 'xps_needed' was not declared. Should it be static?
net/core/dev.c:2424:19: sparse: sparse: symbol 'xps_rxqs_needed' was not declared. Should it be static?
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types)
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types)
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 1 (different base types)
net/core/dev.c:3264:23: sparse: expected unsigned int [usertype] val
net/core/dev.c:3264:23: sparse: got restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types)
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types)
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types)
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types)
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:5588:1: sparse: sparse: symbol 'flush_works' was not declared. Should it be static?
include/net/sch_generic.h:168:9: sparse: sparse: trying to copy expression type 31
include/net/sch_generic.h:168:9: sparse: sparse: trying to copy expression type 31
include/net/sch_generic.h:141:17: sparse: sparse: trying to copy expression type 31
include/net/sch_generic.h:175:9: sparse: sparse: trying to copy expression type 31
include/net/sch_generic.h:175:9: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
sparse: linearize.c:692: insert_branch: Assertion `old == jmp' failed.
>> /bin/bash: line 1: 32346 Aborted sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -Wno-unknown-attribute -fdiagnostic-prefix -D__CHECK_ENDIAN__ -D__s390__ -D__s390x__ --arch=s390 -mbig-endian -m64 -Wp,-MMD,net/core/.dev.o.d -nostdinc -isystem /opt/cross/gcc-9.3.0-nolibc/s390-linux/bin/../lib/gcc/s390-linux/9.3.0/include -Iarch/s390/include -I./arch/s390/include/generated -Iinclude -I./include -Iarch/s390/include/uapi -I./arch/s390/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -m64 -fPIE -mbackchain -msoft-float -march=z15 -mtune=z196 -Wa,-Iarch/s390/include -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-table -DCC_USING_EXPOLINE -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -DCONFIG_AS_CFI_VAL_OFFSET=1 -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -DRANDSTRUCT_PLUGIN -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=8192 -fno-stack-protector -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -g -gdwarf-4 -femit-struct-debug-baseonly -fno-var-tracking -gz=zlib -fno-inline-functions-called-once -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map== -Wno-packed-not-aligned -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wpacked-not-aligned -Wstringop-truncation -Wno-missing-field-initializers -Wno-sign-compare -fsanitize=kernel-address -fasan-shadow-offset=0x30000000000 --param asan-globals=1 --param asan-instrumentation-with-call-threshold=0 --param asan-stack=1 --param asan-instrument-allocas=1 -I net/core -I ./net/core -DKBUILD_MODFILE='"net/core/dev"' -DKBUILD_BASENAME='"dev"' -DKBUILD_MODNAME='"dev"' net/core/dev.c
--
net/core/neighbour.c:348:12: sparse: sparse: context imbalance in '__neigh_ifdown' - wrong count at exit
net/core/neighbour.c:803:9: sparse: sparse: context imbalance in 'pneigh_ifdown_and_unlock' - unexpected unlock
include/linux/seqlock.h:902:16: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:876:24: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:876:24: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:876:24: sparse: sparse: unreplaced symbol 'return'
>> /bin/bash: line 1: 33145 Segmentation fault sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -Wno-unknown-attribute -fdiagnostic-prefix -D__CHECK_ENDIAN__ -D__s390__ -D__s390x__ --arch=s390 -mbig-endian -m64 -Wp,-MMD,net/core/.neighbour.o.d -nostdinc -isystem /opt/cross/gcc-9.3.0-nolibc/s390-linux/bin/../lib/gcc/s390-linux/9.3.0/include -Iarch/s390/include -I./arch/s390/include/generated -Iinclude -I./include -Iarch/s390/include/uapi -I./arch/s390/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -m64 -fPIE -mbackchain -msoft-float -march=z15 -mtune=z196 -Wa,-Iarch/s390/include -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-table -DCC_USING_EXPOLINE -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -DCONFIG_AS_CFI_VAL_OFFSET=1 -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -DRANDSTRUCT_PLUGIN -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=8192 -fno-stack-protector -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -g -gdwarf-4 -femit-struct-debug-baseonly -fno-var-tracking -gz=zlib -fno-inline-functions-called-once -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map== -Wno-packed-not-aligned -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wpacked-not-aligned -Wstringop-truncation -Wno-missing-field-initializers -Wno-sign-compare -fsanitize=kernel-address -fasan-shadow-offset=0x30000000000 --param asan-globals=1 --param asan-instrumentation-with-call-threshold=0 --param asan-stack=1 --param asan-instrument-allocas=1 -I net/core -I ./net/core -DKBUILD_MODFILE='"net/core/neighbour"' -DKBUILD_BASENAME='"neighbour"' -DKBUILD_MODNAME='"neighbour"' net/core/neighbour.c
sparse warnings: (new ones prefixed by >>)
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __wsum @@
net/core/dev.c:3264:23: sparse: expected unsigned int [usertype] val
net/core/dev.c:3264:23: sparse: got restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
net/core/dev.c:3264:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@
net/core/dev.c:3264:23: sparse: expected restricted __wsum [usertype] csum
net/core/dev.c:3264:23: sparse: got unsigned int
net/core/dev.c:3264:23: sparse: sparse: cast from restricted __wsum
>> include/net/sch_generic.h:168:9: sparse: sparse: trying to copy expression type 31
>> include/net/sch_generic.h:168:9: sparse: sparse: trying to copy expression type 31
include/net/sch_generic.h:141:17: sparse: sparse: trying to copy expression type 31
include/net/sch_generic.h:175:9: sparse: sparse: trying to copy expression type 31
include/net/sch_generic.h:175:9: sparse: sparse: trying to copy expression type 31
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
>> include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 's'
>> include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
>> include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 's'
>> include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:168:9: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
>> include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 's'
>> include/net/sch_generic.h:141:17: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:345:9: sparse: sparse: unreplaced symbol 'return'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 's'
include/net/sch_generic.h:175:9: sparse: sparse: unreplaced symbol 'return'
sparse: linearize.c:692: insert_branch: Assertion `old == jmp' failed.
/bin/bash: line 1: 32346 Aborted sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -Wno-unknown-attribute -fdiagnostic-prefix -D__CHECK_ENDIAN__ -D__s390__ -D__s390x__ --arch=s390 -mbig-endian -m64 -Wp,-MMD,net/core/.dev.o.d -nostdinc -isystem /opt/cross/gcc-9.3.0-nolibc/s390-linux/bin/../lib/gcc/s390-linux/9.3.0/include -Iarch/s390/include -I./arch/s390/include/generated -Iinclude -I./include -Iarch/s390/include/uapi -I./arch/s390/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -m64 -fPIE -mbackchain -msoft-float -march=z15 -mtune=z196 -Wa,-Iarch/s390/include -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-table -DCC_USING_EXPOLINE -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -DCONFIG_AS_CFI_VAL_OFFSET=1 -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -DRANDSTRUCT_PLUGIN -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=8192 -fno-stack-protector -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -g -gdwarf-4 -femit-struct-debug-baseonly -fno-var-tracking -gz=zlib -fno-inline-functions-called-once -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map== -Wno-packed-not-aligned -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wpacked-not-aligned -Wstringop-truncation -Wno-missing-field-initializers -Wno-sign-compare -fsanitize=kernel-address -fasan-shadow-offset=0x30000000000 --param asan-globals=1 --param asan-instrumentation-with-call-threshold=0 --param asan-stack=1 --param asan-instrument-allocas=1 -I net/core -I ./net/core -DKBUILD_MODFILE='"net/core/dev"' -DKBUILD_BASENAME='"dev"' -DKBUILD_MODNAME='"dev"' net/core/dev.c
--
net/core/neighbour.c:348:12: sparse: sparse: context imbalance in '__neigh_ifdown' - wrong count at exit
net/core/neighbour.c:803:9: sparse: sparse: context imbalance in 'pneigh_ifdown_and_unlock' - unexpected unlock
>> include/linux/seqlock.h:902:16: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:876:24: sparse: sparse: trying to copy expression type 31
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:876:24: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:876:24: sparse: sparse: unreplaced symbol 'return'
/bin/bash: line 1: 33145 Segmentation fault sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -Wno-unknown-attribute -fdiagnostic-prefix -D__CHECK_ENDIAN__ -D__s390__ -D__s390x__ --arch=s390 -mbig-endian -m64 -Wp,-MMD,net/core/.neighbour.o.d -nostdinc -isystem /opt/cross/gcc-9.3.0-nolibc/s390-linux/bin/../lib/gcc/s390-linux/9.3.0/include -Iarch/s390/include -I./arch/s390/include/generated -Iinclude -I./include -Iarch/s390/include/uapi -I./arch/s390/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -m64 -fPIE -mbackchain -msoft-float -march=z15 -mtune=z196 -Wa,-Iarch/s390/include -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-table -DCC_USING_EXPOLINE -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -DCONFIG_AS_CFI_VAL_OFFSET=1 -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -DRANDSTRUCT_PLUGIN -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=8192 -fno-stack-protector -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -g -gdwarf-4 -femit-struct-debug-baseonly -fno-var-tracking -gz=zlib -fno-inline-functions-called-once -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map== -Wno-packed-not-aligned -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wpacked-not-aligned -Wstringop-truncation -Wno-missing-field-initializers -Wno-sign-compare -fsanitize=kernel-address -fasan-shadow-offset=0x30000000000 --param asan-globals=1 --param asan-instrumentation-with-call-threshold=0 --param asan-stack=1 --param asan-instrument-allocas=1 -I net/core -I ./net/core -DKBUILD_MODFILE='"net/core/neighbour"' -DKBUILD_BASENAME='"neighbour"' -DKBUILD_MODNAME='"neighbour"' net/core/neighbour.c
--
>> include/linux/seqlock.h:902:16: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:876:24: sparse: sparse: trying to copy expression type 31
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 'return'
/bin/bash: line 1: 30841 Segmentation fault sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -Wno-unknown-attribute -fdiagnostic-prefix -D__CHECK_ENDIAN__ -D__s390__ -D__s390x__ --arch=s390 -mbig-endian -m64 -Wp,-MMD,net/ipv4/.inetpeer.o.d -nostdinc -isystem /opt/cross/gcc-9.3.0-nolibc/s390-linux/bin/../lib/gcc/s390-linux/9.3.0/include -Iarch/s390/include -I./arch/s390/include/generated -Iinclude -I./include -Iarch/s390/include/uapi -I./arch/s390/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -m64 -fPIE -mbackchain -msoft-float -march=z15 -mtune=z196 -Wa,-Iarch/s390/include -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-table -DCC_USING_EXPOLINE -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -DCONFIG_AS_CFI_VAL_OFFSET=1 -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -DRANDSTRUCT_PLUGIN -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=8192 -fno-stack-protector -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -g -gdwarf-4 -femit-struct-debug-baseonly -fno-var-tracking -gz=zlib -fno-inline-functions-called-once -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map== -Wno-packed-not-aligned -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wpacked-not-aligned -Wstringop-truncation -Wno-missing-field-initializers -Wno-sign-compare -fsanitize=kernel-address -fasan-shadow-offset=0x30000000000 --param asan-globals=1 --param asan-instrumentation-with-call-threshold=0 --param asan-stack=1 --param asan-instrument-allocas=1 -I net/ipv4 -I ./net/ipv4 -DKBUILD_MODFILE='"net/ipv4/inetpeer"' -DKBUILD_BASENAME='"inetpeer"' -DKBUILD_MODNAME='"inetpeer"' net/ipv4/inetpeer.c
--
include/net/route.h:372:48: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] key @@ got restricted __be32 [usertype] daddr @@
include/net/route.h:372:48: sparse: expected unsigned int [usertype] key
include/net/route.h:372:48: sparse: got restricted __be32 [usertype] daddr
include/net/route.h:372:48: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int [usertype] key @@ got restricted __be32 [usertype] daddr @@
include/net/route.h:372:48: sparse: expected unsigned int [usertype] key
include/net/route.h:372:48: sparse: got restricted __be32 [usertype] daddr
>> include/linux/seqlock.h:902:16: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:876:24: sparse: sparse: trying to copy expression type 31
--
>> include/linux/seqlock.h:902:16: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:876:24: sparse: sparse: trying to copy expression type 31
net/ipv4/inet_connection_sock.c:181:36: sparse: sparse: context imbalance in 'inet_csk_find_open_port' - wrong count at exit
net/ipv4/inet_connection_sock.c:348:24: sparse: sparse: context imbalance in 'inet_csk_get_port' - different lock contexts for basic block
net/ipv4/inet_connection_sock.c:1000:9: sparse: sparse: context imbalance in 'inet_csk_complete_hashdance' - unexpected unlock
--
>> include/linux/seqlock.h:902:16: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:876:24: sparse: sparse: trying to copy expression type 31
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:902:16: sparse: sparse: unreplaced symbol 'return'
>> include/linux/seqlock.h:340:16: sparse: sparse: unreplaced symbol 's'
>> include/linux/seqlock.h:340:9: sparse: sparse: unreplaced symbol 'return'
include/linux/seqlock.h:876:24: sparse: sparse: unreplaced symbol 's'
include/linux/seqlock.h:876:24: sparse: sparse: unreplaced symbol 'return'
/bin/bash: line 1: 35562 Segmentation fault sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -Wno-unknown-attribute -fdiagnostic-prefix -D__CHECK_ENDIAN__ -D__s390__ -D__s390x__ --arch=s390 -mbig-endian -m64 -Wp,-MMD,net/ipv4/.tcp_metrics.o.d -nostdinc -isystem /opt/cross/gcc-9.3.0-nolibc/s390-linux/bin/../lib/gcc/s390-linux/9.3.0/include -Iarch/s390/include -I./arch/s390/include/generated -Iinclude -I./include -Iarch/s390/include/uapi -I./arch/s390/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -m64 -fPIE -mbackchain -msoft-float -march=z15 -mtune=z196 -Wa,-Iarch/s390/include -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-table -DCC_USING_EXPOLINE -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -DCONFIG_AS_CFI_VAL_OFFSET=1 -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -DRANDSTRUCT_PLUGIN -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=8192 -fno-stack-protector -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -g -gdwarf-4 -femit-struct-debug-baseonly -fno-var-tracking -gz=zlib -fno-inline-functions-called-once -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map== -Wno-packed-not-aligned -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wpacked-not-aligned -Wstringop-truncation -Wno-missing-field-initializers -Wno-sign-compare -fsanitize=kernel-address -fasan-shadow-offset=0x30000000000 --param asan-globals=1 --param asan-instrumentation-with-call-threshold=0 --param asan-stack=1 --param asan-instrument-allocas=1 -I net/ipv4 -I ./net/ipv4 -DKBUILD_MODFILE='"net/ipv4/tcp_metrics"' -DKBUILD_BASENAME='"tcp_metrics"' -DKBUILD_MODNAME='"tcp_metrics"' net/ipv4/tcp_metrics.c
--
>> include/linux/seqlock.h:902:16: sparse: sparse: trying to copy expression type 31
include/linux/seqlock.h:876:24: sparse: sparse: trying to copy expression type 31
# https://github.com/0day-ci/linux/commit/4468f4c7e23ced8c373e0be6c4d96442fbe70691
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 4468f4c7e23ced8c373e0be6c4d96442fbe70691
vim +/s +340 include/linux/seqlock.h
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 333
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 334 /*
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 335 * Similar hooks, but for plain seqcount_t
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 336 */
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 337
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 338 static inline seqcount_t *__seqcount_ptr(seqcount_t *s)
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 339 {
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 @340 return s;
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 341 }
4468f4c7e23ced Ahmed S. Darwish 2020-07-20 342
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27353 bytes --]
next reply other threads:[~2020-07-21 1:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-21 1:16 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-21 2:19 [PATCH v4 09/24] seqlock: Extend seqcount API with associated locks kernel test robot
2020-05-19 21:45 [PATCH v1 00/25] " Ahmed S. Darwish
2020-07-20 15:55 ` [PATCH v4 00/24] " Ahmed S. Darwish
2020-07-20 15:55 ` [PATCH v4 09/24] " Ahmed S. Darwish
2020-07-21 9:08 ` kernel test robot
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=202007210940.Hxud8ZD0%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/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.