Commit 5ee81007 authored by Linus Torvalds's avatar Linus Torvalds

Fix "multiple definition of `debugfs_create_size_t'"

Introduced by 8adb711f ("debugfs:
introduce stub for debugfs_create_size_t() when DEBUG_FS=n") and due to
a simple missing "static inline".
Reported-and-tested-by: default avatarJeff Chua <jeff.chua.linux@gmail.com>
Acked-by: default avatarGreg KH <gregkh@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 53760710
......@@ -162,7 +162,7 @@ static inline struct dentry *debugfs_create_x32(const char *name, mode_t mode,
return ERR_PTR(-ENODEV);
}
struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
static inline struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
struct dentry *parent,
size_t *value)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment