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 metrics: Use 'unsigned int' instead of just 'unsigned'.

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

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Cc: Ian Rogers <irogers@google.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20220816173804.7539-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
84f879c5 f1417cea

+1 -1
+1 -1
tools/perf/util/metricgroup.c
··· 1703 1703 struct rblist *new_metric_events, 1704 1704 struct rblist *old_metric_events) 1705 1705 { 1706 - unsigned i; 1706 + unsigned int i; 1707 1707 1708 1708 for (i = 0; i < rblist__nr_entries(old_metric_events); i++) { 1709 1709 struct rb_node *nd;