ftrace: Fix uninitialized variable in match_records()
[muen/linux.git] / kernel / trace / ftrace.c
index 5fb5b40b3ae8dfd03a19350113dc547ea5fcb9a8..53f6b6401cf05fe9d63be0b67d646d25eed929e7 100644 (file)
@@ -3816,7 +3816,7 @@ match_records(struct ftrace_hash *hash, char *func, int len, char *mod)
        int exclude_mod = 0;
        int found = 0;
        int ret;
-       int clear_filter;
+       int clear_filter = 0;
 
        if (func) {
                func_g.type = filter_parse_regex(func, len, &func_g.search,