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

André Almeida posted 4 patches 4 weeks ago
[PATCH 1/4] exportfs: Fix kernel-doc output for get_name()
Posted by André Almeida 4 weeks ago
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