summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2015-09-29 16:53:12 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-09-30 18:34:22 -0300
commit45633a169571e81835ec53fe0c089dd20f3195f1 (patch)
tree8079ac90dc0454d0d08a0d10398f85a5f5534a8c /security
parent9c17dbc6eb73bdd8a6aaea1baefd37ff78d86148 (diff)
downloadlinux-stable-45633a169571e81835ec53fe0c089dd20f3195f1.tar.gz
linux-stable-45633a169571e81835ec53fe0c089dd20f3195f1.tar.bz2
linux-stable-45633a169571e81835ec53fe0c089dd20f3195f1.zip
tools: Fix shadowed declaration in err.h
The error variable breaks build on CentOS 6.7, due to collision with global error symbol: CC util/evlist.o cc1: warnings being treated as errors In file included from util/evlist.c:28: tools/include/linux/err.h: In function ‘ERR_PTR’: tools/include/linux/err.h:34: error: declaration of ‘error’ shadows a global declaration util/util.h:135: error: shadowed declaration is here Using 'error_' name instead to fix it. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/n/tip-i9mdgdbrgauy3fe76s9rd125@git.kernel.org Reported-by: Vinson Lee <vlee@twopensource.com> [ Use 'error_' instead of 'err' to, visually, not diverge too much from include/linux/err.h ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions