]> www.infradead.org Git - nvme.git/commitdiff
perf diff: Replaces some ',' as separator with the more usual ';'
authorLu Hongfei <luhongfei@vivo.com>
Thu, 6 Jul 2023 09:46:34 +0000 (17:46 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Jul 2023 14:43:45 +0000 (11:43 -0300)
When wrapping code, use ';' better than using ',' which is more in line
with the coding habits of most engineers.

Signed-off-by: Lu Hongfei <luhongfei@vivo.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: opensource.kernel@vivo.com
Link: https://lore.kernel.org/r/20230706094635.1553-1-luhongfei@vivo.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c

index e8a1b16aa5f83f4f3423516f064613eee6fbe9e9..57d300d8e5700ca136a47651b8615a63fe7379f7 100644 (file)
@@ -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;
        }