Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/lib/traceevent/parse-filter.c: clean up clang build warning
The uniform structure filter_arg sets its union based on the difference of enum filter_arg_type, However, some functions use implicit type conversion obviously. warning: implicit conversion from enumeration type 'enum filter_exp_type' to different enumeration type 'enum filter_op_type' warning: implicit conversion from enumeration type 'enum filter_cmp_type' to different enumeration type 'enum filter_exp_type' Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Cheng Jian <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Xie XiuQi <[email protected]> Cc: Li Bin <[email protected]> Cc: Steven Rostedt (Red Hat) <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information