summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2019-04-16 15:46:55 +0200
committerGreg Kroah-Hartman2019-06-03 16:34:27 +0200
commitc9c2c27d7ceca8c2856c5008f2002bddb384f518 (patch)
treecafa65120e2e5d80ef78d1bcf475bd2359b56de3 /Documentation/filesystems
parentbtrfs: no need to check return value of debugfs_create functions (diff)
downloadkernel-qcow2-linux-c9c2c27d7ceca8c2856c5008f2002bddb384f518.tar.gz
kernel-qcow2-linux-c9c2c27d7ceca8c2856c5008f2002bddb384f518.tar.xz
kernel-qcow2-linux-c9c2c27d7ceca8c2856c5008f2002bddb384f518.zip
debugfs: make debugfs_create_u32_array() return void
The single user of debugfs_create_u32_array() does not care about the return value of it, so make it return void as there is no need to do anything with the return value. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/debugfs.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/debugfs.txt b/Documentation/filesystems/debugfs.txt
index 4a0a9c3f4af6..9e27c843d00e 100644
--- a/Documentation/filesystems/debugfs.txt
+++ b/Documentation/filesystems/debugfs.txt
@@ -169,7 +169,7 @@ byte offsets over a base for the register block.
If you want to dump an u32 array in debugfs, you can create file with:
- struct dentry *debugfs_create_u32_array(const char *name, umode_t mode,
+ void debugfs_create_u32_array(const char *name, umode_t mode,
struct dentry *parent,
u32 *array, u32 elements);