Skip to content

Commit cbb557b

Browse files
valschneiderrostedt
authored andcommitted
tracing/filters: Fix coding style issues
Recent commits have introduced some coding style issues, fix those up. Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Signed-off-by: Valentin Schneider <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 2900bcb commit cbb557b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

kernel/trace/trace_events_filter.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ int filter_assign_type(const char *type)
13601360
return FILTER_DYN_STRING;
13611361
if (strstr(type, "cpumask_t"))
13621362
return FILTER_CPUMASK;
1363-
}
1363+
}
13641364

13651365
if (strstr(type, "__rel_loc") && strstr(type, "char"))
13661366
return FILTER_RDYN_STRING;
@@ -1731,7 +1731,9 @@ static int parse_pred(const char *str, void *data,
17311731
maskstart = i;
17321732

17331733
/* Walk the cpulist until closing } */
1734-
for (; str[i] && str[i] != '}'; i++);
1734+
for (; str[i] && str[i] != '}'; i++)
1735+
;
1736+
17351737
if (str[i] != '}') {
17361738
parse_error(pe, FILT_ERR_MISSING_BRACE_CLOSE, pos + i);
17371739
goto err_free;

0 commit comments

Comments
 (0)