diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-02 22:26:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-09 13:30:29 +0200 |
commit | 9d3b96be2ee81a7d6ad08cb5094753f06382db1b (patch) | |
tree | c7009cf9c45e0c9392892b78ce9e5de03ff4639f /include/linux | |
parent | 00bbe512e60f681aef132f0dd2c92eb6521acef1 (diff) |
debugfs_get_aux(): allow storing non-const void *
typechecking is up to users, anyway...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250702212616.GI3406663@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/debugfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index a420152105d0..7cecda29447e 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h @@ -162,7 +162,7 @@ void debugfs_remove(struct dentry *dentry); void debugfs_lookup_and_remove(const char *name, struct dentry *parent); -const void *debugfs_get_aux(const struct file *file); +void *debugfs_get_aux(const struct file *file); int debugfs_file_get(struct dentry *dentry); void debugfs_file_put(struct dentry *dentry); |