diff options
author | Kees Cook <keescook@chromium.org> | 2016-04-21 12:53:29 -0700 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2016-04-27 17:25:02 +1000 |
commit | da20dfe6b50ea4c1a82797b7ee8655a370535d73 (patch) | |
tree | caa0c865f34f8f6b458f244a0eeef69ea9f05016 /fs | |
parent | 9b091556a073a9f5f93e2ad23d118f45c4796a84 (diff) | |
download | lwn-da20dfe6b50ea4c1a82797b7ee8655a370535d73.tar.gz lwn-da20dfe6b50ea4c1a82797b7ee8655a370535d73.zip |
fs: fix over-zealous use of "const"
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>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions