On Fri, Jun 21, 2024 at 05:24:13PM GMT, kernel test robot wrote: > > > Hello, > > kernel test robot noticed "WARNING:at_mm/slub.c:#cache_from_obj" on: > > commit: 632586fb1b5da157f060730549ad45ba9f5e0371 ("vfs: shave a branch in getname_flags") > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master Thanks for the report. This is an entertaining typo: diff --git a/fs/namei.c b/fs/namei.c index 7bb0419a083d..3d3674c21d3c 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -193,7 +193,7 @@ getname_flags(const char __user *filename, int flags) } /* The empty path is special. */ if (unlikely(!len) && !(flags & LOOKUP_EMPTY)) { - __putname(result); + __putname(kname); kfree(result); return ERR_PTR(-ENOENT); } Folding this into the patch.