summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-11 15:29:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-16 15:07:55 +0200
commite40d38f28c10e3010b2828f2c737b50fb81bda8f (patch)
tree5fe54d8aeccd15fafd54fb18e044824d615459dd /Documentation/filesystems
parentntb: ntb_pingpong: no need to check the return value of debugfs calls (diff)
downloadlinux-e40d38f28c10e3010b2828f2c737b50fb81bda8f.tar.xz
linux-e40d38f28c10e3010b2828f2c737b50fb81bda8f.zip
debugfs: remove return value of debugfs_create_x16()
No one checks the return value of debugfs_create_x16(), as it's not needed, so make the return value void, so that no one tries to do so in the future. Link: https://lore.kernel.org/r/20191011132931.1186197-6-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/debugfs.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/debugfs.txt b/Documentation/filesystems/debugfs.txt
index 55a5da08c71c..4967f77a62a0 100644
--- a/Documentation/filesystems/debugfs.txt
+++ b/Documentation/filesystems/debugfs.txt
@@ -84,8 +84,8 @@ the following functions can be used instead:
struct dentry *debugfs_create_x8(const char *name, umode_t mode,
struct dentry *parent, u8 *value);
- struct dentry *debugfs_create_x16(const char *name, umode_t mode,
- struct dentry *parent, u16 *value);
+ void debugfs_create_x16(const char *name, umode_t mode,
+ struct dentry *parent, u16 *value);
struct dentry *debugfs_create_x32(const char *name, umode_t mode,
struct dentry *parent, u32 *value);
struct dentry *debugfs_create_x64(const char *name, umode_t mode,