Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf parse-events: Use 'unsigned int' instead of plain 'unsigned'.

'unsigned int' should be clearer than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220816174109.7718-1-gaoxin@cdjrlc.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Xin Gao and committed by
Arnaldo Carvalho de Melo
f1417cea 74ef1cc9

+1 -1
+1 -1
tools/perf/util/pmu.c
··· 1182 1182 struct perf_pmu_format *format; 1183 1183 char *str = NULL; 1184 1184 struct strbuf buf = STRBUF_INIT; 1185 - unsigned i = 0; 1185 + unsigned int i = 0; 1186 1186 1187 1187 if (!formats) 1188 1188 return NULL;