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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20151110175645.4f211b21@gandalf.local.home>
Date:	Tue, 10 Nov 2015 17:56:45 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Chen Gang <xili_gchen_5257@...mail.com>
Cc:	"mingo@...hat.com" <mingo@...hat.com>,
	kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kernel/trace/trace.c: Switch the related code with
 CONFIG_TRACER_MAX_TRACE

On Wed, 11 Nov 2015 06:31:25 +0800
Chen Gang <xili_gchen_5257@...mail.com> wrote:

> > I'm curious to what compiler are you using? Because, for me gcc simply
> > compiles it out without any warning or anything because it's labeled as
> > a constant.
> >   
> 
> I use the upstream gcc 6.0.0, which is simply built by myself:
> 

So this is new with gcc 6.0 (which I don't have). I'm still using 4.9
as that's the last one supported by:

 https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/

-- Steve

> 
> It will always report warning for both "static const struct file_operations
> tracing_max_lat_fops ..." and  "static struct file_operations
> tracing_max_lat_fops ..."
> 

--
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