]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix pmu object compilation error
authorJiri Olsa <jolsa@redhat.com>
Wed, 16 Apr 2014 18:49:02 +0000 (20:49 +0200)
committerJiri Olsa <jolsa@redhat.com>
Tue, 22 Apr 2014 15:39:09 +0000 (17:39 +0200)
commit834405988fd7ac6ca9a8b4d861a0c6cb9130f0e2
tree3abc7efe2220ce6412a9b281c06894442375404c
parent2793f5658dd4db53c5cfe31b649d1007f7d18352
perf tools: Fix pmu object compilation error

After applying some patches got another shadowing error:

  CC       util/pmu.o
util/pmu.c: In function ‘pmu_alias_terms’:
util/pmu.c:287:35: error: declaration of ‘clone’ shadows a global declaration [-Werror=shadow]

Renaming clone to cloned.

Acked-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1397674818-27054-1-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/util/pmu.c