From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [peterz-queue:locking/kcsan 12/12] drivers/i2c/muxes/i2c-mux-pca954x.c:264:22: sparse: sparse: typename in expression
Date: Fri, 29 May 2020 10:40:03 +0800 [thread overview]
Message-ID: <202005291059.PUIM2xnM%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 30072 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/kcsan
head: a5dead405f6be1fb80555bdcb77c406bf133fdc8
commit: a5dead405f6be1fb80555bdcb77c406bf133fdc8 [12/12] compiler_types.h: Optimize __unqual_scalar_typeof compilation time
config: x86_64-randconfig-s021-20200528 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-240-gf0fe1cd9-dirty
git checkout a5dead405f6be1fb80555bdcb77c406bf133fdc8
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
include/linux/compiler.h:256:16: sparse: sparse: typename in expression
include/linux/compiler.h:256:16: sparse: sparse: Expected ) in function call
include/linux/compiler.h:256:16: sparse: sparse: got :
include/linux/list.h:282:16: sparse: sparse: typename in expression
include/linux/list.h:282:16: sparse: sparse: Expected ) in function call
include/linux/list.h:282:16: sparse: sparse: got :
include/linux/list.h:794:17: sparse: sparse: typename in expression
include/linux/list.h:794:17: sparse: sparse: Expected ) in function call
include/linux/list.h:794:17: sparse: sparse: got :
include/linux/list.h:803:17: sparse: sparse: typename in expression
include/linux/list.h:803:17: sparse: sparse: Expected ) in function call
include/linux/list.h:803:17: sparse: sparse: got :
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: typename in expression
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: Expected ) in function call
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: got :
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: typename in expression
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: Expected ) in function call
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: got :
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: typename in expression
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: Expected ) in function call
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: got :
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: typename in expression
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: Expected ) in function call
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: got :
include/linux/rcupdate.h:891:31: sparse: sparse: typename in expression
include/linux/rcupdate.h:891:31: sparse: sparse: Expected ) in function call
include/linux/rcupdate.h:891:31: sparse: sparse: got :
include/linux/seqlock.h:129:15: sparse: sparse: typename in expression
include/linux/seqlock.h:129:15: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:129:15: sparse: sparse: got :
include/linux/seqlock.h:149:24: sparse: sparse: typename in expression
include/linux/seqlock.h:149:24: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:149:24: sparse: sparse: got :
include/linux/seqlock.h:202:24: sparse: sparse: typename in expression
include/linux/seqlock.h:202:24: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:202:24: sparse: sparse: got :
include/linux/seqlock.h:225:16: sparse: sparse: typename in expression
include/linux/seqlock.h:225:16: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:225:16: sparse: sparse: got :
include/linux/seqlock.h:313:19: sparse: sparse: typename in expression
include/linux/seqlock.h:313:19: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:313:19: sparse: sparse: got :
include/linux/llist.h:189:16: sparse: sparse: typename in expression
include/linux/llist.h:189:16: sparse: sparse: Expected ) in function call
include/linux/llist.h:189:16: sparse: sparse: got :
include/linux/hrtimer.h:470:19: sparse: sparse: typename in expression
include/linux/hrtimer.h:470:19: sparse: sparse: Expected ) in function call
include/linux/hrtimer.h:470:19: sparse: sparse: got :
include/linux/sched.h:1404:39: sparse: sparse: typename in expression
include/linux/sched.h:1404:39: sparse: sparse: Expected ) in function call
include/linux/sched.h:1404:39: sparse: sparse: got :
include/linux/sched.h:1426:34: sparse: sparse: typename in expression
include/linux/sched.h:1426:34: sparse: sparse: Expected ) in function call
include/linux/sched.h:1426:34: sparse: sparse: got :
include/linux/sched.h:1842:16: sparse: sparse: typename in expression
include/linux/sched.h:1842:16: sparse: sparse: Expected ) in function call
include/linux/sched.h:1842:16: sparse: sparse: got :
include/linux/page-flags.h:182:30: sparse: sparse: typename in expression
include/linux/page-flags.h:182:30: sparse: sparse: Expected ) in function call
include/linux/page-flags.h:182:30: sparse: sparse: got :
include/linux/page-flags.h:191:16: sparse: sparse: typename in expression
include/linux/page-flags.h:191:16: sparse: sparse: Expected ) in function call
include/linux/page-flags.h:191:16: sparse: sparse: got :
include/linux/mmzone.h:106:16: sparse: sparse: typename in expression
include/linux/mmzone.h:106:16: sparse: sparse: Expected ) in function call
include/linux/mmzone.h:106:16: sparse: sparse: got :
include/linux/xarray.h:1164:16: sparse: sparse: typename in expression
include/linux/xarray.h:1164:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1164:16: sparse: sparse: got :
include/linux/xarray.h:1180:16: sparse: sparse: typename in expression
include/linux/xarray.h:1180:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1180:16: sparse: sparse: got :
include/linux/xarray.h:1197:16: sparse: sparse: typename in expression
include/linux/xarray.h:1197:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1197:16: sparse: sparse: got :
include/linux/radix-tree.h:167:16: sparse: sparse: typename in expression
include/linux/radix-tree.h:167:16: sparse: sparse: Expected ) in function call
include/linux/radix-tree.h:167:16: sparse: sparse: got :
include/linux/idr.h:68:16: sparse: sparse: typename in expression
include/linux/idr.h:68:16: sparse: sparse: Expected ) in function call
include/linux/idr.h:68:16: sparse: sparse: got :
include/linux/kernfs.h:331:9: sparse: sparse: typename in expression
include/linux/kernfs.h:331:9: sparse: sparse: Expected ) in function call
include/linux/kernfs.h:331:9: sparse: sparse: got :
include/linux/percpu-refcount.h:161:22: sparse: sparse: typename in expression
include/linux/percpu-refcount.h:161:22: sparse: sparse: Expected ) in function call
include/linux/percpu-refcount.h:161:22: sparse: sparse: got :
include/linux/rbtree_latch.h:109:32: sparse: sparse: typename in expression
include/linux/rbtree_latch.h:109:32: sparse: sparse: Expected ) in function call
include/linux/rbtree_latch.h:109:32: sparse: sparse: got :
include/linux/rbtree_latch.h:118:32: sparse: sparse: typename in expression
include/linux/rbtree_latch.h:118:32: sparse: sparse: Expected ) in function call
include/linux/rbtree_latch.h:118:32: sparse: sparse: got :
include/linux/rbtree_latch.h:120:32: sparse: sparse: typename in expression
include/linux/rbtree_latch.h:120:32: sparse: sparse: Expected ) in function call
include/linux/rbtree_latch.h:120:32: sparse: sparse: got :
>> drivers/i2c/muxes/i2c-mux-pca954x.c:264:22: sparse: sparse: typename in expression
drivers/i2c/muxes/i2c-mux-pca954x.c:264:22: sparse: sparse: Expected ) in function call
drivers/i2c/muxes/i2c-mux-pca954x.c:264:22: sparse: sparse: got :
drivers/i2c/muxes/i2c-mux-pca954x.c:289:37: sparse: sparse: typename in expression
drivers/i2c/muxes/i2c-mux-pca954x.c:289:37: sparse: sparse: Expected ) in function call
>> drivers/i2c/muxes/i2c-mux-pca954x.c:289:37: sparse: sparse: too many errors
--
include/linux/compiler.h:256:16: sparse: sparse: typename in expression
include/linux/compiler.h:256:16: sparse: sparse: Expected ) in function call
include/linux/compiler.h:256:16: sparse: sparse: got :
include/linux/list.h:282:16: sparse: sparse: typename in expression
include/linux/list.h:282:16: sparse: sparse: Expected ) in function call
include/linux/list.h:282:16: sparse: sparse: got :
include/linux/list.h:794:17: sparse: sparse: typename in expression
include/linux/list.h:794:17: sparse: sparse: Expected ) in function call
include/linux/list.h:794:17: sparse: sparse: got :
include/linux/list.h:803:17: sparse: sparse: typename in expression
include/linux/list.h:803:17: sparse: sparse: Expected ) in function call
include/linux/list.h:803:17: sparse: sparse: got :
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: typename in expression
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: Expected ) in function call
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: got :
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: typename in expression
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: Expected ) in function call
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: got :
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: typename in expression
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: Expected ) in function call
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: got :
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: typename in expression
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: Expected ) in function call
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: got :
include/linux/seqlock.h:129:15: sparse: sparse: typename in expression
include/linux/seqlock.h:129:15: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:129:15: sparse: sparse: got :
include/linux/seqlock.h:149:24: sparse: sparse: typename in expression
include/linux/seqlock.h:149:24: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:149:24: sparse: sparse: got :
include/linux/seqlock.h:202:24: sparse: sparse: typename in expression
include/linux/seqlock.h:202:24: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:202:24: sparse: sparse: got :
include/linux/seqlock.h:225:16: sparse: sparse: typename in expression
include/linux/seqlock.h:225:16: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:225:16: sparse: sparse: got :
include/linux/seqlock.h:313:19: sparse: sparse: typename in expression
include/linux/seqlock.h:313:19: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:313:19: sparse: sparse: got :
include/linux/rcupdate.h:891:31: sparse: sparse: typename in expression
include/linux/rcupdate.h:891:31: sparse: sparse: Expected ) in function call
include/linux/rcupdate.h:891:31: sparse: sparse: got :
include/linux/llist.h:189:16: sparse: sparse: typename in expression
include/linux/llist.h:189:16: sparse: sparse: Expected ) in function call
include/linux/llist.h:189:16: sparse: sparse: got :
include/linux/hrtimer.h:470:19: sparse: sparse: typename in expression
include/linux/hrtimer.h:470:19: sparse: sparse: Expected ) in function call
include/linux/hrtimer.h:470:19: sparse: sparse: got :
include/linux/page-flags.h:182:30: sparse: sparse: typename in expression
include/linux/page-flags.h:182:30: sparse: sparse: Expected ) in function call
include/linux/page-flags.h:182:30: sparse: sparse: got :
include/linux/page-flags.h:191:16: sparse: sparse: typename in expression
include/linux/page-flags.h:191:16: sparse: sparse: Expected ) in function call
include/linux/page-flags.h:191:16: sparse: sparse: got :
include/linux/mmzone.h:106:16: sparse: sparse: typename in expression
include/linux/mmzone.h:106:16: sparse: sparse: Expected ) in function call
include/linux/mmzone.h:106:16: sparse: sparse: got :
include/linux/xarray.h:1164:16: sparse: sparse: typename in expression
include/linux/xarray.h:1164:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1164:16: sparse: sparse: got :
include/linux/xarray.h:1180:16: sparse: sparse: typename in expression
include/linux/xarray.h:1180:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1180:16: sparse: sparse: got :
include/linux/xarray.h:1197:16: sparse: sparse: typename in expression
include/linux/xarray.h:1197:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1197:16: sparse: sparse: got :
include/linux/radix-tree.h:167:16: sparse: sparse: typename in expression
include/linux/radix-tree.h:167:16: sparse: sparse: Expected ) in function call
include/linux/radix-tree.h:167:16: sparse: sparse: got :
include/linux/idr.h:68:16: sparse: sparse: typename in expression
include/linux/idr.h:68:16: sparse: sparse: Expected ) in function call
include/linux/idr.h:68:16: sparse: sparse: got :
include/linux/kernfs.h:331:9: sparse: sparse: typename in expression
include/linux/kernfs.h:331:9: sparse: sparse: Expected ) in function call
include/linux/kernfs.h:331:9: sparse: sparse: got :
arch/x86/include/asm/clocksource.h:13:16: sparse: sparse: typename in expression
arch/x86/include/asm/clocksource.h:13:16: sparse: sparse: Expected ) in function call
arch/x86/include/asm/clocksource.h:13:16: sparse: sparse: got :
arch/x86/include/asm/clocksource.h:18:9: sparse: sparse: typename in expression
arch/x86/include/asm/clocksource.h:18:9: sparse: sparse: Expected ) in function call
arch/x86/include/asm/clocksource.h:18:9: sparse: sparse: got :
include/vdso/helpers.h:13:16: sparse: sparse: typename in expression
include/vdso/helpers.h:13:16: sparse: sparse: Expected ) in function call
include/vdso/helpers.h:13:16: sparse: sparse: got :
include/vdso/helpers.h:26:15: sparse: sparse: typename in expression
include/vdso/helpers.h:26:15: sparse: sparse: Expected ) in function call
include/vdso/helpers.h:26:15: sparse: sparse: got :
include/linux/sched.h:1404:39: sparse: sparse: typename in expression
include/linux/sched.h:1404:39: sparse: sparse: Expected ) in function call
include/linux/sched.h:1404:39: sparse: sparse: got :
include/linux/sched.h:1426:34: sparse: sparse: typename in expression
include/linux/sched.h:1426:34: sparse: sparse: Expected ) in function call
include/linux/sched.h:1426:34: sparse: sparse: got :
include/linux/sched.h:1842:16: sparse: sparse: typename in expression
include/linux/sched.h:1842:16: sparse: sparse: Expected ) in function call
include/linux/sched.h:1842:16: sparse: sparse: got :
>> include/clocksource/hyperv_timer.h:61:28: sparse: sparse: typename in expression
include/clocksource/hyperv_timer.h:61:28: sparse: sparse: Expected ) in function call
include/clocksource/hyperv_timer.h:61:28: sparse: sparse: got :
include/clocksource/hyperv_timer.h:70:25: sparse: sparse: typename in expression
include/clocksource/hyperv_timer.h:70:25: sparse: sparse: Expected ) in function call
>> include/clocksource/hyperv_timer.h:70:25: sparse: sparse: too many errors
--
include/linux/compiler.h:256:16: sparse: sparse: typename in expression
include/linux/compiler.h:256:16: sparse: sparse: Expected ) in function call
include/linux/compiler.h:256:16: sparse: sparse: got :
include/linux/list.h:282:16: sparse: sparse: typename in expression
include/linux/list.h:282:16: sparse: sparse: Expected ) in function call
include/linux/list.h:282:16: sparse: sparse: got :
include/linux/list.h:794:17: sparse: sparse: typename in expression
include/linux/list.h:794:17: sparse: sparse: Expected ) in function call
include/linux/list.h:794:17: sparse: sparse: got :
include/linux/list.h:803:17: sparse: sparse: typename in expression
include/linux/list.h:803:17: sparse: sparse: Expected ) in function call
include/linux/list.h:803:17: sparse: sparse: got :
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: typename in expression
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: Expected ) in function call
arch/x86/include/asm/atomic.h:31:16: sparse: sparse: got :
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: typename in expression
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: Expected ) in function call
arch/x86/include/asm/atomic64_64.h:22:16: sparse: sparse: got :
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: typename in expression
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: Expected ) in function call
include/linux/atomic-arch-fallback.h:84:16: sparse: sparse: got :
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: typename in expression
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: Expected ) in function call
include/linux/atomic-arch-fallback.h:1191:16: sparse: sparse: got :
include/linux/seqlock.h:129:15: sparse: sparse: typename in expression
include/linux/seqlock.h:129:15: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:129:15: sparse: sparse: got :
include/linux/seqlock.h:149:24: sparse: sparse: typename in expression
include/linux/seqlock.h:149:24: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:149:24: sparse: sparse: got :
include/linux/seqlock.h:202:24: sparse: sparse: typename in expression
include/linux/seqlock.h:202:24: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:202:24: sparse: sparse: got :
include/linux/seqlock.h:225:16: sparse: sparse: typename in expression
include/linux/seqlock.h:225:16: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:225:16: sparse: sparse: got :
include/linux/seqlock.h:313:19: sparse: sparse: typename in expression
include/linux/seqlock.h:313:19: sparse: sparse: Expected ) in function call
include/linux/seqlock.h:313:19: sparse: sparse: got :
include/linux/rcupdate.h:891:31: sparse: sparse: typename in expression
include/linux/rcupdate.h:891:31: sparse: sparse: Expected ) in function call
include/linux/rcupdate.h:891:31: sparse: sparse: got :
include/linux/page-flags.h:182:30: sparse: sparse: typename in expression
include/linux/page-flags.h:182:30: sparse: sparse: Expected ) in function call
include/linux/page-flags.h:182:30: sparse: sparse: got :
include/linux/page-flags.h:191:16: sparse: sparse: typename in expression
include/linux/page-flags.h:191:16: sparse: sparse: Expected ) in function call
include/linux/page-flags.h:191:16: sparse: sparse: got :
include/linux/mmzone.h:106:16: sparse: sparse: typename in expression
include/linux/mmzone.h:106:16: sparse: sparse: Expected ) in function call
include/linux/mmzone.h:106:16: sparse: sparse: got :
include/linux/llist.h:189:16: sparse: sparse: typename in expression
include/linux/llist.h:189:16: sparse: sparse: Expected ) in function call
include/linux/llist.h:189:16: sparse: sparse: got :
include/linux/xarray.h:1164:16: sparse: sparse: typename in expression
include/linux/xarray.h:1164:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1164:16: sparse: sparse: got :
include/linux/xarray.h:1180:16: sparse: sparse: typename in expression
include/linux/xarray.h:1180:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1180:16: sparse: sparse: got :
include/linux/xarray.h:1197:16: sparse: sparse: typename in expression
include/linux/xarray.h:1197:16: sparse: sparse: Expected ) in function call
include/linux/xarray.h:1197:16: sparse: sparse: got :
include/linux/radix-tree.h:167:16: sparse: sparse: typename in expression
include/linux/radix-tree.h:167:16: sparse: sparse: Expected ) in function call
include/linux/radix-tree.h:167:16: sparse: sparse: got :
include/linux/idr.h:68:16: sparse: sparse: typename in expression
include/linux/idr.h:68:16: sparse: sparse: Expected ) in function call
include/linux/idr.h:68:16: sparse: sparse: got :
include/linux/kernfs.h:331:9: sparse: sparse: typename in expression
include/linux/kernfs.h:331:9: sparse: sparse: Expected ) in function call
include/linux/kernfs.h:331:9: sparse: sparse: got :
include/linux/rbtree_latch.h:109:32: sparse: sparse: typename in expression
include/linux/rbtree_latch.h:109:32: sparse: sparse: Expected ) in function call
include/linux/rbtree_latch.h:109:32: sparse: sparse: got :
include/linux/rbtree_latch.h:118:32: sparse: sparse: typename in expression
include/linux/rbtree_latch.h:118:32: sparse: sparse: Expected ) in function call
include/linux/rbtree_latch.h:118:32: sparse: sparse: got :
include/linux/rbtree_latch.h:120:32: sparse: sparse: typename in expression
include/linux/rbtree_latch.h:120:32: sparse: sparse: Expected ) in function call
include/linux/rbtree_latch.h:120:32: sparse: sparse: got :
include/linux/hrtimer.h:470:19: sparse: sparse: typename in expression
include/linux/hrtimer.h:470:19: sparse: sparse: Expected ) in function call
include/linux/hrtimer.h:470:19: sparse: sparse: got :
include/linux/sched.h:1404:39: sparse: sparse: typename in expression
include/linux/sched.h:1404:39: sparse: sparse: Expected ) in function call
include/linux/sched.h:1404:39: sparse: sparse: got :
include/linux/sched.h:1426:34: sparse: sparse: typename in expression
include/linux/sched.h:1426:34: sparse: sparse: Expected ) in function call
include/linux/sched.h:1426:34: sparse: sparse: got :
include/linux/sched.h:1842:16: sparse: sparse: typename in expression
include/linux/sched.h:1842:16: sparse: sparse: Expected ) in function call
include/linux/sched.h:1842:16: sparse: sparse: got :
>> kernel/trace/trace_benchmark.h:15:1: sparse: sparse: typename in expression
kernel/trace/trace_benchmark.h:15:1: sparse: sparse: Expected ) in function call
kernel/trace/trace_benchmark.h:15:1: sparse: sparse: got :
>> kernel/trace/trace_benchmark.h:15:1: sparse: sparse: typename in expression
kernel/trace/trace_benchmark.h:15:1: sparse: sparse: Expected ) in function call
kernel/trace/trace_benchmark.h:15:1: sparse: sparse: got :
>> kernel/trace/trace_benchmark.h:15:1: sparse: sparse: typename in expression
kernel/trace/trace_benchmark.h:15:1: sparse: sparse: Expected ) in function call
>> kernel/trace/trace_benchmark.h:15:1: sparse: sparse: too many errors
/bin/bash: line 1: 46708 Segmentation fault sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -Wno-unknown-attribute -fdiagnostic-prefix -D__CHECK_ENDIAN__ -D__x86_64__ --arch=x86_64 -mlittle-endian -m64 -Wp,-MD,kernel/trace/.trace_benchmark.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -Iarch/x86/include -I./arch/x86/include/generated -Iinclude -I./include -Iarch/x86/include/uapi -I./arch/x86/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 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -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 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -g -femit-struct-debug-baseonly -fno-var-tracking -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -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== -fcf-protection=none -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 -DDISABLE_BRANCH_PROFILING -Ikernel/trace -I kernel/trace -I ./kernel/trace -DKBUILD_MODFILE='"kernel/trace/trace_benchmark"' -DKBUILD_BASENAME='"trace_benchmark"' -DKBUILD_MODNAME='"trace_benchmark"' kernel/trace/trace_benchmark.c
vim +264 drivers/i2c/muxes/i2c-mux-pca954x.c
7f528135da9704 drivers/i2c/muxes/pca954x.c Michael Lawnick 2010-08-11 257
7fcac980717532 drivers/i2c/muxes/i2c-mux-pca954x.c Peter Rosin 2016-04-20 258 static int pca954x_deselect_mux(struct i2c_mux_core *muxc, u32 chan)
7f528135da9704 drivers/i2c/muxes/pca954x.c Michael Lawnick 2010-08-11 259 {
7fcac980717532 drivers/i2c/muxes/i2c-mux-pca954x.c Peter Rosin 2016-04-20 260 struct pca954x *data = i2c_mux_priv(muxc);
7fcac980717532 drivers/i2c/muxes/i2c-mux-pca954x.c Peter Rosin 2016-04-20 261 struct i2c_client *client = data->client;
e65e228eb0963b drivers/i2c/muxes/i2c-mux-pca954x.c Biwen Li 2019-12-25 262 s32 idle_state;
7fcac980717532 drivers/i2c/muxes/i2c-mux-pca954x.c Peter Rosin 2016-04-20 263
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 @264 idle_state = READ_ONCE(data->idle_state);
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 265 if (idle_state >= 0)
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 266 /* Set the mux back to a predetermined channel */
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 267 return pca954x_select_chan(muxc, idle_state);
7f528135da9704 drivers/i2c/muxes/pca954x.c Michael Lawnick 2010-08-11 268
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 269 if (idle_state == MUX_IDLE_DISCONNECT) {
7f528135da9704 drivers/i2c/muxes/pca954x.c Michael Lawnick 2010-08-11 270 /* Deselect active channel */
7f528135da9704 drivers/i2c/muxes/pca954x.c Michael Lawnick 2010-08-11 271 data->last_chan = 0;
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 272 return pca954x_reg_write(muxc->parent, client,
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 273 data->last_chan);
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 274 }
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 275
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 276 /* otherwise leave as-is */
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 277
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 278 return 0;
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 279 }
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 280
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 281 static ssize_t idle_state_show(struct device *dev,
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 282 struct device_attribute *attr,
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 283 char *buf)
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 284 {
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 285 struct i2c_client *client = to_i2c_client(dev);
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 286 struct i2c_mux_core *muxc = i2c_get_clientdata(client);
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 287 struct pca954x *data = i2c_mux_priv(muxc);
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 288
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 @289 return sprintf(buf, "%d\n", READ_ONCE(data->idle_state));
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 290 }
f1fb64b04bf414 drivers/i2c/muxes/i2c-mux-pca954x.c Robert Shearman 2019-02-28 291
:::::: The code at line 264 was first introduced by commit
:::::: f1fb64b04bf414ab04e31ac107bb28137105c5fd i2c: mux: pca954x: allow management of device idle state via sysfs
:::::: TO: Robert Shearman <robert.shearman@att.com>
:::::: CC: Peter Rosin <peda@axentia.se>
---
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: 35364 bytes --]
reply other threads:[~2020-05-29 2:40 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=202005291059.PUIM2xnM%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@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.