Hi Herbert, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.7 next-20200611] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Herbert-Xu/printk-Make-linux-printk-h-self-contained/20200611-205340 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b29482fde649c72441d5478a4ea2c52c56d97a5e :::::: branch date: 13 hours ago :::::: commit date: 13 hours ago config: powerpc-randconfig-s031-20200611 (attached as .config) compiler: powerpc64le-linux-gcc (GCC) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.1-250-g42323db3-dirty # save the attached .config to linux build tree make W=1 C=1 ARCH=powerpc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } kernel/ptrace.c:53:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/ptrace.c:53:22: sparse: struct task_struct * kernel/ptrace.c:53:22: sparse: struct task_struct [noderef] * kernel/ptrace.c:196:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/ptrace.c:196:9: sparse: struct task_struct [noderef] * kernel/ptrace.c:196:9: sparse: struct task_struct * kernel/ptrace.c:241:44: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/ptrace.c:241:44: sparse: struct task_struct [noderef] * kernel/ptrace.c:241:44: sparse: struct task_struct * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } kernel/user.c:105:27: sparse: sparse: unknown field name in initializer kernel/user.c:105:27: sparse: sparse: unknown field name in initializer kernel/user.c:105:27: sparse: sparse: unknown field name in initializer include/linux/ratelimit.h:14:9: sparse: sparse: no member 'lock' in struct ratelimit_state include/linux/ratelimit.h:15:11: sparse: sparse: no member 'interval' in struct ratelimit_state include/linux/ratelimit.h:16:11: sparse: sparse: no member 'burst' in struct ratelimit_state include/linux/ratelimit.h:40:11: sparse: sparse: no member 'flags' in struct ratelimit_state -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } arch/powerpc/kernel/signal_64.c:804:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_64.c:804:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_64.c:804:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_64.c:916:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_64.c:916:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_64.c:916:17: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } arch/powerpc/kernel/traps.c:312:16: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:312:16: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:312:16: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:1843:9: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:1843:9: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:1843:9: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:2299:9: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:2299:9: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/traps.c:2299:9: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } arch/powerpc/kernel/signal_32.c:843:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:843:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:843:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1100:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1100:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1100:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1295:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1295:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1295:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1371:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1371:17: sparse: sparse: unknown field name in initializer arch/powerpc/kernel/signal_32.c:1371:17: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } arch/powerpc/kvm/book3s_emulate.c:847:17: sparse: sparse: unknown field name in initializer arch/powerpc/kvm/book3s_emulate.c:847:17: sparse: sparse: unknown field name in initializer arch/powerpc/kvm/book3s_emulate.c:847:17: sparse: sparse: unknown field name in initializer arch/powerpc/kvm/book3s_emulate.c:1012:17: sparse: sparse: unknown field name in initializer arch/powerpc/kvm/book3s_emulate.c:1012:17: sparse: sparse: unknown field name in initializer arch/powerpc/kvm/book3s_emulate.c:1012:17: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } kernel/sched/core.c:4506:17: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/core.c:4506:17: sparse: struct task_struct * kernel/sched/core.c:4506:17: sparse: struct task_struct [noderef] * kernel/sched/core.c:4705:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/core.c:4705:22: sparse: struct task_struct [noderef] * kernel/sched/core.c:4705:22: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * kernel/sched/sched.h:1809:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1809:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1809:9: sparse: struct task_struct * kernel/sched/core.c:1388:38: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/core.c:1388:38: sparse: struct task_struct [noderef] * kernel/sched/core.c:1388:38: sparse: struct task_struct const * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * kernel/sched/sched.h:1809:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1809:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1809:9: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * kernel/sched/sched.h:1809:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1809:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1809:9: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * kernel/sched/sched.h:1809:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1809:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1809:9: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * kernel/sched/sched.h:1809:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1809:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1809:9: sparse: struct task_struct * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } kernel/sched/fair.c:5386:38: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/fair.c:5386:38: sparse: struct task_struct [noderef] * kernel/sched/fair.c:5386:38: sparse: struct task_struct * kernel/sched/fair.c:8582:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/fair.c:8582:22: sparse: struct task_struct [noderef] * kernel/sched/fair.c:8582:22: sparse: struct task_struct * kernel/sched/fair.c:10692:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/fair.c:10692:22: sparse: struct task_struct [noderef] * kernel/sched/fair.c:10692:22: sparse: struct task_struct * kernel/sched/fair.c:10825:30: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/fair.c:10825:30: sparse: struct task_struct [noderef] * kernel/sched/fair.c:10825:30: sparse: struct task_struct * kernel/sched/fair.c:5330:35: sparse: sparse: marked inline, but without a definition kernel/sched/sched.h:1803:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1803:9: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1803:9: sparse: struct task_struct * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } kernel/sched/rt.c:912:70: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/rt.c:912:70: sparse: struct task_struct [noderef] * kernel/sched/rt.c:912:70: sparse: struct task_struct * kernel/sched/rt.c:2183:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/rt.c:2183:25: sparse: struct task_struct * kernel/sched/rt.c:2183:25: sparse: struct task_struct [noderef] * kernel/sched/rt.c:1876:13: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/rt.c:1876:13: sparse: struct task_struct * kernel/sched/rt.c:1876:13: sparse: struct task_struct [noderef] * kernel/sched/rt.c:2300:46: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/rt.c:2300:46: sparse: struct task_struct [noderef] * kernel/sched/rt.c:2300:46: sparse: struct task_struct * kernel/sched/rt.c:2320:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/rt.c:2320:22: sparse: struct task_struct [noderef] * kernel/sched/rt.c:2320:22: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } kernel/sched/deadline.c:2059:13: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/deadline.c:2059:13: sparse: struct task_struct * kernel/sched/deadline.c:2059:13: sparse: struct task_struct [noderef] * kernel/sched/deadline.c:2186:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/deadline.c:2186:25: sparse: struct task_struct * kernel/sched/deadline.c:2186:25: sparse: struct task_struct [noderef] * kernel/sched/deadline.c:2385:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/deadline.c:2385:22: sparse: struct task_struct [noderef] * kernel/sched/deadline.c:2385:22: sparse: struct task_struct * kernel/sched/deadline.c:2404:46: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/deadline.c:2404:46: sparse: struct task_struct [noderef] * kernel/sched/deadline.c:2404:46: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * kernel/sched/sched.h:1657:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/sched.h:1657:25: sparse: struct task_struct [noderef] * kernel/sched/sched.h:1657:25: sparse: struct task_struct * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } kernel/sched/debug.c:435:22: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/sched/debug.c:435:22: sparse: struct task_struct [noderef] * kernel/sched/debug.c:435:22: sparse: struct task_struct * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } net/ipv4/nexthop.c:1088:24: sparse: sparse: incompatible types in comparison expression (different address spaces): net/ipv4/nexthop.c:1088:24: sparse: struct rb_node [noderef] * net/ipv4/nexthop.c:1088:24: sparse: struct rb_node * include/linux/rbtree.h:84:9: sparse: sparse: incompatible types in comparison expression (different address spaces): include/linux/rbtree.h:84:9: sparse: struct rb_node [noderef] * include/linux/rbtree.h:84:9: sparse: struct rb_node * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } drivers/char/random.c:475:9: sparse: sparse: unknown field name in initializer drivers/char/random.c:475:9: sparse: sparse: unknown field name in initializer drivers/char/random.c:475:9: sparse: sparse: unknown field name in initializer drivers/char/random.c:477:9: sparse: sparse: unknown field name in initializer drivers/char/random.c:477:9: sparse: sparse: unknown field name in initializer drivers/char/random.c:477:9: sparse: sparse: unknown field name in initializer drivers/char/random.c:985:37: sparse: sparse: no member 'missed' in struct ratelimit_state drivers/char/random.c:986:25: sparse: sparse: no member 'missed' in struct ratelimit_state drivers/char/random.c:988:41: sparse: sparse: no member 'missed' in struct ratelimit_state drivers/char/random.c:990:36: sparse: sparse: no member 'missed' in struct ratelimit_state drivers/char/random.c:991:25: sparse: sparse: no member 'missed' in struct ratelimit_state drivers/char/random.c:993:40: sparse: sparse: no member 'missed' in struct ratelimit_state drivers/char/random.c:1805:32: sparse: sparse: no member 'interval' in struct ratelimit_state drivers/char/random.c:1806:33: sparse: sparse: no member 'interval' in struct ratelimit_state -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/super.c:2326:31: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/super.c:2326:31: sparse: struct rcu_string [noderef] * fs/btrfs/super.c:2326:31: sparse: struct rcu_string * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/ctree.c:129:22: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/ctree.c:129:22: sparse: struct extent_buffer [noderef] * fs/btrfs/ctree.c:129:22: sparse: struct extent_buffer * fs/btrfs/ctree.c:1085:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/ctree.c:1085:17: sparse: struct extent_buffer [noderef] * fs/btrfs/ctree.c:1085:17: sparse: struct extent_buffer * fs/btrfs/ctree.c:1846:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/ctree.c:1846:17: sparse: struct extent_buffer [noderef] * fs/btrfs/ctree.c:1846:17: sparse: struct extent_buffer * fs/btrfs/ctree.c:3332:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/ctree.c:3332:9: sparse: struct extent_buffer [noderef] * fs/btrfs/ctree.c:3332:9: sparse: struct extent_buffer * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/extent-tree.c:4517:17: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:4517:17: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:4517:17: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5040:33: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5040:33: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5040:33: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5151:41: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5151:41: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5151:41: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5187:9: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5187:9: sparse: sparse: unknown field name in initializer fs/btrfs/extent-tree.c:5187:9: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/volumes.c:7336:9: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:7336:9: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:7336:9: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:7336:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string * fs/btrfs/volumes.c:7356:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string * fs/btrfs/volumes.c:539:24: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:539:24: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:539:24: sparse: struct rcu_string * fs/btrfs/volumes.c:858:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:858:17: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:858:17: sparse: struct rcu_string * fs/btrfs/volumes.c:932:33: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:932:33: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:932:33: sparse: struct rcu_string * fs/btrfs/volumes.c:939:25: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:939:25: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:939:25: sparse: struct rcu_string * fs/btrfs/volumes.c:951:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:951:17: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:951:17: sparse: struct rcu_string * fs/btrfs/volumes.c:1012:25: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string * fs/btrfs/volumes.c:2055:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string * fs/btrfs/volumes.c:2539:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string * fs/btrfs/volumes.c:4104:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:4104:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:4104:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:6325:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string * fs/btrfs/volumes.c:6535:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:6535:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:6535:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:6538:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:6538:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:6538:17: sparse: sparse: unknown field name in initializer fs/btrfs/volumes.c:7242:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string * fs/btrfs/volumes.c:7253:25: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string * fs/btrfs/volumes.c:7267:25: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string [noderef] * fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/scrub.c:838:16: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:838:16: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:838:16: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1180:25: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1180:25: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1180:25: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1180:25: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:1180:25: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:1180:25: sparse: struct rcu_string * fs/btrfs/scrub.c:1189:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1189:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1189:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1189:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:1189:17: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:1189:17: sparse: struct rcu_string * fs/btrfs/scrub.c:1563:25: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1563:25: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:1563:25: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:703:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:703:17: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:703:17: sparse: struct rcu_string * fs/btrfs/scrub.c:717:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:717:9: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:717:9: sparse: struct rcu_string * fs/btrfs/scrub.c:775:25: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:775:25: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:775:25: sparse: struct rcu_string * fs/btrfs/scrub.c:2136:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:2136:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:2136:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:2136:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:2136:17: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:2136:17: sparse: struct rcu_string * fs/btrfs/scrub.c:2143:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:2143:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:2143:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:2143:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:2143:17: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:2143:17: sparse: struct rcu_string * fs/btrfs/scrub.c:3862:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:3862:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:3862:17: sparse: sparse: unknown field name in initializer fs/btrfs/scrub.c:3901:17: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/scrub.c:3901:17: sparse: struct rcu_string [noderef] * fs/btrfs/scrub.c:3901:17: sparse: struct rcu_string * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/qgroup.c:1927:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:1927:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:1927:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:1945:25: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:1945:25: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:1945:25: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:2039:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:2039:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:2039:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:3844:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:3844:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:3844:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:4008:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:4008:17: sparse: sparse: unknown field name in initializer fs/btrfs/qgroup.c:4008:17: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/dev-replace.c:683:25: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/dev-replace.c:683:25: sparse: struct rcu_string [noderef] * fs/btrfs/dev-replace.c:683:25: sparse: struct rcu_string * fs/btrfs/dev-replace.c:700:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/dev-replace.c:700:9: sparse: struct rcu_string [noderef] * fs/btrfs/dev-replace.c:700:9: sparse: struct rcu_string * fs/btrfs/dev-replace.c:279:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/dev-replace.c:279:9: sparse: struct rcu_string [noderef] * fs/btrfs/dev-replace.c:279:9: sparse: struct rcu_string * fs/btrfs/dev-replace.c:431:24: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/dev-replace.c:431:24: sparse: struct rcu_string [noderef] * fs/btrfs/dev-replace.c:431:24: sparse: struct rcu_string * fs/btrfs/dev-replace.c:493:9: sparse: sparse: incompatible types in comparison expression (different address spaces): fs/btrfs/dev-replace.c:493:9: sparse: struct rcu_string [noderef] * fs/btrfs/dev-replace.c:493:9: sparse: struct rcu_string * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/block-rsv.c:509:24: sparse: sparse: unknown field name in initializer fs/btrfs/block-rsv.c:509:24: sparse: sparse: unknown field name in initializer fs/btrfs/block-rsv.c:509:24: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } fs/btrfs/reflink.c:581:17: sparse: sparse: unknown field name in initializer fs/btrfs/reflink.c:581:17: sparse: sparse: unknown field name in initializer fs/btrfs/reflink.c:581:17: sparse: sparse: unknown field name in initializer -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } include/linux/rculist_bl.h:24:33: sparse: sparse: incompatible types in comparison expression (different address spaces): include/linux/rculist_bl.h:24:33: sparse: struct hlist_bl_node [noderef] * include/linux/rculist_bl.h:24:33: sparse: struct hlist_bl_node * include/linux/rculist_bl.h:17:9: sparse: sparse: incompatible types in comparison expression (different address spaces): include/linux/rculist_bl.h:17:9: sparse: struct hlist_bl_node [noderef] * include/linux/rculist_bl.h:17:9: sparse: struct hlist_bl_node * include/linux/rculist_bl.h:17:9: sparse: sparse: incompatible types in comparison expression (different address spaces): include/linux/rculist_bl.h:17:9: sparse: struct hlist_bl_node [noderef] * include/linux/rculist_bl.h:17:9: sparse: struct hlist_bl_node * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } drivers/md/md-linear.c:61:16: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/md/md-linear.c:61:16: sparse: void [noderef] * drivers/md/md-linear.c:61:16: sparse: void * drivers/md/md-linear.c:219:19: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/md/md-linear.c:219:19: sparse: void [noderef] * drivers/md/md-linear.c:219:19: sparse: void * drivers/md/md-linear.c:224:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/md/md-linear.c:224:9: sparse: void [noderef] * drivers/md/md-linear.c:224:9: sparse: void * -- >> include/linux/ratelimit_types.h:16:25: sparse: sparse: expected ; at end of declaration include/linux/ratelimit_types.h:16:25: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/ratelimit_types.h:16:25: sparse: sparse: got lock include/linux/ratelimit_types.h:24:1: sparse: sparse: Expected ; at the end of type declaration include/linux/ratelimit_types.h:24:1: sparse: sparse: got } drivers/md/md-multipath.c:37:40: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/md/md-multipath.c:37:40: sparse: struct md_rdev [noderef] * drivers/md/md-multipath.c:37:40: sparse: struct md_rdev * drivers/md/md-multipath.c:47:9: sparse: sparse: unknown field name in initializer drivers/md/md-multipath.c:47:9: sparse: sparse: unknown field name in initializer drivers/md/md-multipath.c:47:9: sparse: sparse: unknown field name in initializer drivers/md/md-multipath.c:147:40: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/md/md-multipath.c:147:40: sparse: struct md_rdev [noderef] * drivers/md/md-multipath.c:147:40: sparse: struct md_rdev * drivers/md/md-multipath.c:161:40: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/md/md-multipath.c:161:40: sparse: struct md_rdev [noderef] * drivers/md/md-multipath.c:161:40: sparse: struct md_rdev * drivers/md/md-multipath.c:261:25: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/md/md-multipath.c:261:25: sparse: struct md_rdev [noderef] * drivers/md/md-multipath.c:261:25: sparse: struct md_rdev * # https://github.com/0day-ci/linux/commit/17b41842ecf70ea595220b384e6380d29c39b555 git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout 17b41842ecf70ea595220b384e6380d29c39b555 vim +16 include/linux/ratelimit_types.h 17b41842ecf70e Herbert Xu 2020-06-11 14 17b41842ecf70e Herbert Xu 2020-06-11 15 struct ratelimit_state { 17b41842ecf70e Herbert Xu 2020-06-11 @16 raw_spinlock_t lock; /* protect the state */ 17b41842ecf70e Herbert Xu 2020-06-11 17 17b41842ecf70e Herbert Xu 2020-06-11 18 int interval; 17b41842ecf70e Herbert Xu 2020-06-11 19 int burst; 17b41842ecf70e Herbert Xu 2020-06-11 20 int printed; 17b41842ecf70e Herbert Xu 2020-06-11 21 int missed; 17b41842ecf70e Herbert Xu 2020-06-11 22 unsigned long begin; 17b41842ecf70e Herbert Xu 2020-06-11 23 unsigned long flags; 17b41842ecf70e Herbert Xu 2020-06-11 24 }; 17b41842ecf70e Herbert Xu 2020-06-11 25 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org