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: <20200611130758.GA18482@kernel.org>
Date:   Thu, 11 Jun 2020 10:07:58 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Jiri Olsa <jolsa@...hat.com>
Cc:     Ian Rogers <irogers@...gle.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Namhyung Kim <namhyung@...nel.org>,
        Andi Kleen <ak@...ux.intel.com>,
        Jin Yao <yao.jin@...ux.intel.com>,
        John Garry <john.garry@...wei.com>,
        Adrian Hunter <adrian.hunter@...el.com>,
        linux-kernel@...r.kernel.org, Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 00/10] perf parse-events: enable more flex/bison warnings

Em Thu, Jun 11, 2020 at 11:02:49AM +0200, Jiri Olsa escreveu:
> On Wed, Jun 10, 2020 at 02:50:50PM -0700, Ian Rogers wrote:
> > All C compiler warnings are disabled are disabled by -w. This change
> > removes the -w from flex and bison targets. To avoid implicit
> > declarations header files are declared as targets and included.
> > 
> > Tested with GCC 9.3.0 and clang 9.0.1.
> > 
> > Previously posted as a single change:
> > https://lore.kernel.org/lkml/20200609234344.3795-2-irogers@google.com/
> > 
> > Ian Rogers (10):
> >   perf parse-events: Use automatic variable for flex input
> >   perf parse-events: Use automatic variable for yacc input
> >   perf pmu: Add bison debug build flag
> >   perf pmu: Add flex debug build flag
> >   perf parse-events: Declare flex header file output
> >   perf parse-events: Declare bison header file output
> >   perf parse-events: Disable a subset of flex warnings
> >   perf expr: Avoid implicit lex function declaration
> >   perf parse-events: Avoid implicit lex function declaration
> >   perf parse-events: Disable a subset of bison warnings
> 
> looks great, I wonder what the -w replacement will do in
> Arnaldo's distro test, but it'd be nice to get rid it
> 
> Acked-by: Jiri Olsa <jolsa@...hat.com>

Thanks, applied locally and will submit it to the test build suite.

- Arnaldo
 
> thanks,
> jirka
> 
> > 
> >  tools/perf/util/Build          | 50 +++++++++++++++++++++-------------
> >  tools/perf/util/expr.y         |  2 ++
> >  tools/perf/util/parse-events.y |  1 +
> >  3 files changed, 34 insertions(+), 19 deletions(-)
> > 
> > -- 
> > 2.27.0.278.ge193c7cf3a9-goog
> > 
> 

-- 

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ