Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266839

Re: [PATCH] kernel/trace/trace.c: Switch the related code with CONFIG_TRACER_MAX_TRACE

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH] kernel/trace/trace.c: Switch the related code with CONFIG_TRACER_MAX_TRACE
Date 2015-11-11 00:00 +0100
Message-ID <qtq3p-2NW-25@gated-at.bofh.it> (permalink)
References <qtkhj-7vy-3@gated-at.bofh.it> <qtkhj-7vy-1@gated-at.bofh.it> <qtq3p-2NW-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 11 Nov 2015 06:31:25 +0800
Chen Gang <xili_gchen_5257@hotmail.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] kernel/trace/trace.c: Switch the related code with   CONFIG_TRACER_MAX_TRACE Steven Rostedt <rostedt@goodmis.org> - 2015-11-10 17:50 +0100
  Re: [PATCH] kernel/trace/trace.c: Switch the related code with  CONFIG_TRACER_MAX_TRACE Steven Rostedt <rostedt@goodmis.org> - 2015-11-11 00:00 +0100

csiph-web