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


Groups > linux.kernel > #1388709

Re: [PATCH] fs: fix over-zealous use of "const"

From James Morris <jmorris@namei.org>
Newsgroups linux.kernel
Subject Re: [PATCH] fs: fix over-zealous use of "const"
Date 2016-04-27 09:10 +0200
Message-ID <rsrLH-5uN-11@gated-at.bofh.it> (permalink)
References <rqsVA-6gR-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 21 Apr 2016, Kees Cook wrote:

> When I was fixing up const recommendations from checkpatch.pl, I went
> overboard. This fixes the warning (during a W=1 build):
> 
> include/linux/fs.h:2627:74: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
> static inline const char * const kernel_read_file_id_str(enum kernel_read_file_id id)
> 
> Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
> This is for linux-security next
> ---

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next


-- 
James Morris
<jmorris@namei.org>

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


Thread

[PATCH] fs: fix over-zealous use of "const" Kees Cook <keescook@chromium.org> - 2016-04-21 22:00 +0200
  Re: [PATCH] fs: fix over-zealous use of "const" Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-04-22 00:20 +0200
  Re: [PATCH] fs: fix over-zealous use of "const" Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-25 11:10 +0200
  Re: [PATCH] fs: fix over-zealous use of "const" James Morris <jmorris@namei.org> - 2016-04-27 09:10 +0200

csiph-web