[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151110223400.GX18797@mwanda>
Date: Wed, 11 Nov 2015 01:34:00 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Joe Perches <joe@...ches.com>
Cc: Kees Cook <keescook@...omium.org>,
Christoph Hellwig <hch@...radead.org>,
Julia Lawall <Julia.Lawall@...6.fr>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
kernel-janitors@...r.kernel.org,
Tomi Valkeinen <tomi.valkeinen@...com>,
linux-geode@...ts.infradead.org, linux-fbdev@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] video: constify geode ops structures
On Tue, Nov 10, 2015 at 02:17:12PM -0800, Joe Perches wrote:
> On Wed, 2015-11-11 at 01:02 +0300, Dan Carpenter wrote:
> > On Tue, Nov 10, 2015 at 12:49:29PM -0800, Joe Perches wrote:
> > > Is there a warning/info message produced by gcc and the
> > > plug-in when a non-const declaration is converted to
> > > const because of this attribute?
> >
> > I'm not sure I understand the question. What would the warning say?
>
> Perhaps something like:
>
> declaration of struct <foo> converted to const by __attribute__((do_const))
No one will ever think to turn on that output. By the time they think
of turning it on, it means they have already figured out the issue.
regards,
dan carpenter
--
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