tools lib traceevent: Fix missing break in FALSE case of pevent_filter_clear_trivial()
authorTaeung Song <[email protected]>
Fri, 12 Jan 2018 00:47:50 +0000 (19:47 -0500)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 17 Jan 2018 13:22:57 +0000 (10:22 -0300)
commit806efaed3cacab1521895d20bb3b5ed610909299
tree77be3c029ca978ff3023cd4c89adb0e0f15770b4
parent6d36ce261614fbac3557cc58ba6a33424944c8a2
tools lib traceevent: Fix missing break in FALSE case of pevent_filter_clear_trivial()

Currently the FILTER_TRIVIAL_FALSE case has a missing break statement,
if the trivial type is FALSE, it will also run into the TRUE case, and
always be skipped as the TRUE statement will continue the loop on the
inverse condition of the FALSE statement.

Reported-by: Namhyung Kim <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Signed-off-by: Taeung Song <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/lib/traceevent/parse-filter.c