summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 90477550b935..9847d5c49a0e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2600,7 +2600,7 @@ static const char * const kernel_read_file_str[] = {
2600 __kernel_read_file_id(__fid_stringify) 2600 __kernel_read_file_id(__fid_stringify)
2601}; 2601};
2602 2602
2603static inline const char * const kernel_read_file_id_str(enum kernel_read_file_id id) 2603static inline const char *kernel_read_file_id_str(enum kernel_read_file_id id)
2604{ 2604{
2605 if (id < 0 || id >= READING_MAX_ID) 2605 if (id < 0 || id >= READING_MAX_ID)
2606 return kernel_read_file_str[READING_UNKNOWN]; 2606 return kernel_read_file_str[READING_UNKNOWN];