tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel-drop-trace head: 40da9a24a778d94e034d160bfacf4931ae5922cd commit: 40da9a24a778d94e034d160bfacf4931ae5922cd [1/1] tracing: drop handling of NOTRACE symbol reproduce: # apt-get install sparse # sparse version: v0.6.1-rc1-7-g2b96cd8-dirty git checkout 40da9a24a778d94e034d160bfacf4931ae5922cd make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) include/linux/sched.h:595:73: sparse: sparse: invalid named zero-width bitfield `value' include/linux/sched.h:596:43: sparse: sparse: bad integer constant expression include/linux/sched.h:596:67: sparse: sparse: invalid named zero-width bitfield `bucket_id' kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2121:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2122:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2123:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2127:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2128:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2129:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2133:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2134:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2135:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2136:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2140:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2141:9: sparse: sparse: unknown field name in initializer kernel/trace/trace_events_filter.c:2142:9: sparse: sparse: unknown field name in initializer >> kernel/trace/trace_events_filter.c:2142:9: sparse: sparse: too many errors vim +2142 kernel/trace/trace_events_filter.c 1d0e78e380cd28 Jiri Olsa 2011-08-11 2112 1d0e78e380cd28 Jiri Olsa 2011-08-11 2113 static struct test_filter_data_t { 1d0e78e380cd28 Jiri Olsa 2011-08-11 2114 char *filter; a7237765730a10 Steven Rostedt (Red Hat 2015-05-13 2115) struct trace_event_raw_ftrace_test_filter rec; 1d0e78e380cd28 Jiri Olsa 2011-08-11 2116 int match; 1d0e78e380cd28 Jiri Olsa 2011-08-11 2117 char *not_visited; 1d0e78e380cd28 Jiri Olsa 2011-08-11 2118 } test_filter_data[] = { 1d0e78e380cd28 Jiri Olsa 2011-08-11 2119 #define FILTER "a == 1 && b == 1 && c == 1 && d == 1 && " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2120 "e == 1 && f == 1 && g == 1 && h == 1" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2121 DATA_REC(YES, 1, 1, 1, 1, 1, 1, 1, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2122 DATA_REC(NO, 0, 1, 1, 1, 1, 1, 1, 1, "bcdefgh"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2123 DATA_REC(NO, 1, 1, 1, 1, 1, 1, 1, 0, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2124 #undef FILTER 1d0e78e380cd28 Jiri Olsa 2011-08-11 2125 #define FILTER "a == 1 || b == 1 || c == 1 || d == 1 || " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2126 "e == 1 || f == 1 || g == 1 || h == 1" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2127 DATA_REC(NO, 0, 0, 0, 0, 0, 0, 0, 0, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2128 DATA_REC(YES, 0, 0, 0, 0, 0, 0, 0, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2129 DATA_REC(YES, 1, 0, 0, 0, 0, 0, 0, 0, "bcdefgh"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2130 #undef FILTER 1d0e78e380cd28 Jiri Olsa 2011-08-11 2131 #define FILTER "(a == 1 || b == 1) && (c == 1 || d == 1) && " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2132 "(e == 1 || f == 1) && (g == 1 || h == 1)" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2133 DATA_REC(NO, 0, 0, 1, 1, 1, 1, 1, 1, "dfh"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2134 DATA_REC(YES, 0, 1, 0, 1, 0, 1, 0, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2135 DATA_REC(YES, 1, 0, 1, 0, 0, 1, 0, 1, "bd"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2136 DATA_REC(NO, 1, 0, 1, 0, 0, 1, 0, 0, "bd"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2137 #undef FILTER 1d0e78e380cd28 Jiri Olsa 2011-08-11 2138 #define FILTER "(a == 1 && b == 1) || (c == 1 && d == 1) || " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2139 "(e == 1 && f == 1) || (g == 1 && h == 1)" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2140 DATA_REC(YES, 1, 0, 1, 1, 1, 1, 1, 1, "efgh"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 @2141 DATA_REC(YES, 0, 0, 0, 0, 0, 0, 1, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 @2142 DATA_REC(NO, 0, 0, 0, 0, 0, 0, 0, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2143 #undef FILTER 1d0e78e380cd28 Jiri Olsa 2011-08-11 2144 #define FILTER "(a == 1 && b == 1) && (c == 1 && d == 1) && " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2145 "(e == 1 && f == 1) || (g == 1 && h == 1)" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2146 DATA_REC(YES, 1, 1, 1, 1, 1, 1, 0, 0, "gh"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2147 DATA_REC(NO, 0, 0, 0, 0, 0, 0, 0, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2148 DATA_REC(YES, 1, 1, 1, 1, 1, 0, 1, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2149 #undef FILTER 1d0e78e380cd28 Jiri Olsa 2011-08-11 2150 #define FILTER "((a == 1 || b == 1) || (c == 1 || d == 1) || " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2151 "(e == 1 || f == 1)) && (g == 1 || h == 1)" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2152 DATA_REC(YES, 1, 1, 1, 1, 1, 1, 0, 1, "bcdef"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2153 DATA_REC(NO, 0, 0, 0, 0, 0, 0, 0, 0, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2154 DATA_REC(YES, 1, 1, 1, 1, 1, 0, 1, 1, "h"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2155 #undef FILTER 1d0e78e380cd28 Jiri Olsa 2011-08-11 2156 #define FILTER "((((((((a == 1) && (b == 1)) || (c == 1)) && (d == 1)) || " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2157 "(e == 1)) && (f == 1)) || (g == 1)) && (h == 1))" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2158 DATA_REC(YES, 1, 1, 1, 1, 1, 1, 1, 1, "ceg"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2159 DATA_REC(NO, 0, 1, 0, 1, 0, 1, 0, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2160 DATA_REC(NO, 1, 0, 1, 0, 1, 0, 1, 0, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2161 #undef FILTER 1d0e78e380cd28 Jiri Olsa 2011-08-11 2162 #define FILTER "((((((((a == 1) || (b == 1)) && (c == 1)) || (d == 1)) && " \ 1d0e78e380cd28 Jiri Olsa 2011-08-11 2163 "(e == 1)) || (f == 1)) && (g == 1)) || (h == 1))" 1d0e78e380cd28 Jiri Olsa 2011-08-11 2164 DATA_REC(YES, 1, 1, 1, 1, 1, 1, 1, 1, "bdfh"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2165 DATA_REC(YES, 0, 1, 0, 1, 0, 1, 0, 1, ""), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2166 DATA_REC(YES, 1, 0, 1, 0, 1, 0, 1, 0, "bdfh"), 1d0e78e380cd28 Jiri Olsa 2011-08-11 2167 }; 1d0e78e380cd28 Jiri Olsa 2011-08-11 2168 :::::: The code at line 2142 was first introduced by commit :::::: 1d0e78e380cd2802aa603a50e08220dfc681141c tracing/filter: Add startup tests for events filter :::::: TO: Jiri Olsa <jolsa@xxxxxxxxxx> :::::: CC: Steven Rostedt <rostedt@xxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation