aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-09 17:36:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-18 13:35:29 +0100
commit526ee72dfdf74f4c14cbe165d68736f86bff6cf2 (patch)
tree5912076bbad871a2c160048f916215b75dbb3dce /Documentation/filesystems
parentdebugfs: Check module state before warning in {full/open}_proxy_open() (diff)
downloadwireguard-linux-526ee72dfdf74f4c14cbe165d68736f86bff6cf2.tar.xz
wireguard-linux-526ee72dfdf74f4c14cbe165d68736f86bff6cf2.zip
debugfs: remove return value of debugfs_create_file_size()
No one checks the return value of debugfs_create_file_size, as it's not needed, so make the return value void, so that no one tries to do so in the future. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20200309163640.237984-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/debugfs.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/filesystems/debugfs.txt b/Documentation/filesystems/debugfs.txt
index 55336a47a110..2e66df5b3827 100644
--- a/Documentation/filesystems/debugfs.txt
+++ b/Documentation/filesystems/debugfs.txt
@@ -55,10 +55,10 @@ missing.
Create a file with an initial size, the following function can be used
instead:
- struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
- struct dentry *parent, void *data,
- const struct file_operations *fops,
- loff_t file_size);
+ void debugfs_create_file_size(const char *name, umode_t mode,
+ struct dentry *parent, void *data,
+ const struct file_operations *fops,
+ loff_t file_size);
file_size is the initial file size. The other parameters are the same
as the function debugfs_create_file.