nfsd: add missing function name to kerneldoc comment for nfsd_nl_parse_one_export
Subsystems (2)
Jeff Layton
maintainerPATCH 1/1 nfsd: add missing function name to kerneldoc comment for nfsd_nl_parse_one_export
Anna was seeing these warnings with a clang W=1 build:
Warning: fs/nfsd/export.c:845 Cannot find identifier on line:
@cd: cache_detail for the svc_export cache,
Warning: fs/nfsd/export.c:846 Cannot find identifier on line:
@attr: nested attribute containing svc-export fields,
Warning: fs/nfsd/export.c:847 Cannot find identifier on line:
*
Warning: fs/nfsd/export.c:848 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
---
Trivial doc fix. Feel free to fold into the Fixes patch if you get this before the sending the PR to Linus.
--- fs/nfsd/export.c | 1 + 1 file changed, 1 insertion(+)
fs/nfsd/export.c +1 -0
@@ -843,6 +843,7 @@ static int check_export(const struct path *path, int *flags, unsigned char *uuid);/** +* nfsd_nl_parse_one_export - parse a svc_export entry from a netlink downcall * @cd: cache_detail for the svc_export cache * @attr: nested attribute containing svc-export fields *
---
base-commit: 07a9f86d6ee1a0dc3bac47e9819ec5269d01a603
change-id: 20260416-nfsd-doc-564f058f6f88
Best regards,
Signature · 1 line
Jeff Layton <[email protected]>
Chuck Lever
maintainerFrom: Chuck Lever <[email protected]>
Quoted 8 lines · Jeff Layton
Anna was seeing these warnings with a clang W=1 build:
Warning:
fs/nfsd/export.c:845Cannot find identifier on line:@cd:
cache_detailfor thesvc_exportcache,
Warning:fs/nfsd/export.c:846Cannot find identifier on line:[...]
Applied to nfsd-testing, thanks!
[1/1] nfsd: add missing function name to kerneldoc comment for nfsd_nl_parse_one_export
(no commit info)
--
Chuck Lever <[email protected]>