Re: [PATCH] tracefs: fix kernel-doc
From: Steven Rostedt
Date: Mon Nov 30 2026 - 15:38:37 EST
On Mon, 30 Nov 2026 20:56:26 +0100
Manuel Ebner <manuelebnerli@xxxxxxxxxxx> wrote:
> Update function name, fixing:
> ./scripts/kernel-doc --none fs/tracefs/event_inode.c
> Warning: fs/tracefs/event_inode.c:667 expecting prototype for eventfs_root_lookup(). Prototype was for __eventfs_root_lookup() instead
>
> Fixes: 42ecc8eec338 ("tracefs: Add read-only eventfs filesystem at /sys/kernel/events")
> CC: Anubhav Shelat <ashelat@xxxxxxxxxx>
> Signed-off-by: Manuel Ebner <manuelebnerli@xxxxxxxxxxx>
> ---
> fs/tracefs/event_inode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c
> index e57c962ca4..8c7f94420e 100644
> --- a/fs/tracefs/event_inode.c
> +++ b/fs/tracefs/event_inode.c
> @@ -651,7 +651,7 @@ lookup_file_dentry(struct dentry *dentry,
> }
>
> /**
> - * eventfs_root_lookup - lookup routine to create file/dir
> + * __eventfs_root_lookup - lookup routine to create file/dir
> * @dir: in which a lookup is being done
> * @dentry: file/dir dentry
> * @flags: Just passed to simple_lookup()
This is rather short sighted to what should be fixed. The bug is that we
added a another way to do updates. I'll write up a patch and give you
reported-by.
Thanks,
-- Steve