tools: perf: Two typos have been corrected
PATCH 1/1 tools: perf: Two typos have been corrected
When wrapping code, use ';' better than using ',' which is more in line with the coding habits of most engineers.
Signed-off-by Lu Hongfei <[email protected]>
--- tools/perf/builtin-diff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/builtin-diff.c +2 -2
@@ -1915,8 +1915,8 @@ static int data_init(int argc, const char **argv)struct perf_data *data = &d->data; data->path = use_default ? defaults[i] : argv[i]; - data->mode =PERF_DATA_MODE_READ , - data->force = force, + data->mode =PERF_DATA_MODE_READ ; + data->force = force; d->idx = i; }
Signature · 1 line
2.39.0
Quoted 5 lines · Lu Hongfei
When wrapping code, use ';' better than using ',' which is more in line with the coding habits of most engineers.
Signed-off-by Lu Hongfei <[email protected]>
Acked-by Ian Rogers <[email protected]>
Thanks,
Ian
Quoted 22 lines
--- tools/perf/builtin-diff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tools/perf/builtin-diff.c +2
-3@@ -1915,8 +1915,8 @@ static int data_init(int argc, const char **argv)struct perf_data *data = &d->data; data->path = use_default ? defaults[i] : argv[i]; - data->mode =PERF_DATA_MODE_READ , - data->force = force, + data->mode =PERF_DATA_MODE_READ ; + data->force = force; d->idx = i; } --2.39.0