From: Xin Gao Date: Tue, 16 Aug 2022 17:41:09 +0000 (+0800) Subject: perf parse-events: Use 'unsigned int' instead of plain 'unsigned'. X-Git-Tag: v6.6.17~6384^2~164 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1417cea017dff2bbf2836bf67abd8e25e624411;p=platform%2Fkernel%2Flinux-rpi.git perf parse-events: Use 'unsigned int' instead of plain 'unsigned'. 'unsigned int' should be clearer than 'unsigned'. Signed-off-by: Xin Gao Cc: Andi Kleen Cc: Ian Rogers Cc: Ingo Molnar Cc: Namhyung Kim Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20220816174109.7718-1-gaoxin@cdjrlc.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index 89655d5..74a2caf 100644 --- a/tools/perf/util/pmu.c +++ b/tools/perf/util/pmu.c @@ -1182,7 +1182,7 @@ static char *pmu_formats_string(struct list_head *formats) struct perf_pmu_format *format; char *str = NULL; struct strbuf buf = STRBUF_INIT; - unsigned i = 0; + unsigned int i = 0; if (!formats) return NULL;