lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150414225336.GO16027@kernel.org>
Date:	Tue, 14 Apr 2015 19:53:36 -0300
From:	Arnaldo Carvalho de Melo <acme@...nel.org>
To:	David Ahern <david.ahern@...cle.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf kmem: Fix compiles on RHEL6/OL6

Em Tue, Apr 14, 2015 at 01:49:33PM -0400, David Ahern escreveu:
> 0d68bc92c48 breaks compiles on RHEL6/OL6:
>     cc1: warnings being treated as errors
>     builtin-kmem.c: In function ‘search_page_alloc_stat’:
>     builtin-kmem.c:322: error: declaration of ‘stat’ shadows a global declaration
>                             node = &parent->rb_left;
>     /usr/include/sys/stat.h:455: error: shadowed declaration is here
>     builtin-kmem.c: In function ‘perf_evsel__process_page_alloc_event’:
>     builtin-kmem.c:378: error: declaration of ‘stat’ shadows a global declaration
>     /usr/include/sys/stat.h:455: error: shadowed declaration is here
>     builtin-kmem.c: In function ‘perf_evsel__process_page_free_event’:
>     builtin-kmem.c:431: error: declaration of ‘stat’ shadows a global declaration
>     /usr/include/sys/stat.h:455: error: shadowed declaration is here
> 
> Rename local variable to pstat to avoid the name conflict.

Thanks, applied, fixed the build on Fedora14 as well.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ