Thread (9 messages) 9 messages, 5 authors, 2026-01-14
STALE183d

[PATCH 1/4] exportfs: Fix kernel-doc output for get_name()

From: André Almeida <andrealmeid@igalia.com>
Date: 2026-01-13 01:51:44
Also in: linux-fsdevel, linux-nfs, lkml
Subsystem: filesystems [exportfs], the rest · Maintainers: Chuck Lever, Jeff Layton, Linus Torvalds

Without a space between %NAME_MAX and the plus sign, kernel-doc will
output ``NAME_MAX``+1, which scapes the last backtick and make Sphinx
format a much larger string as monospaced text.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
---
 include/linux/exportfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h
index f0cf2714ec52..599ea86363e1 100644
--- a/include/linux/exportfs.h
+++ b/include/linux/exportfs.h
@@ -234,7 +234,7 @@ struct handle_to_path_ctx {
  * get_name:
  *    @get_name should find a name for the given @child in the given @parent
  *    directory.  The name should be stored in the @name (with the
- *    understanding that it is already pointing to a %NAME_MAX+1 sized
+ *    understanding that it is already pointing to a %NAME_MAX + 1 sized
  *    buffer.   get_name() should return %0 on success, a negative error code
  *    or error.  @get_name will be called without @parent->i_rwsem held.
  *
-- 
2.52.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help