[PATCH] docs: Fix missing parameter description for raw_seqcount_try_begin

Miguel García posted 1 patch 1 year ago
include/linux/seqlock.h | 1 +
1 file changed, 1 insertion(+)
[PATCH] docs: Fix missing parameter description for raw_seqcount_try_begin
Posted by Miguel García 1 year ago
Added proper documentation for the 'start' parameter in the macro
raw_seqcount_try_begin() to resolve a Sphinx warning during documentation
generation.

Signed-off-by: Miguel García <miguelgarciaroman8@gmail.com>
---
 include/linux/seqlock.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h
index d1a2346cf0f8..0aa822e867ac 100644
--- a/include/linux/seqlock.h
+++ b/include/linux/seqlock.h
@@ -322,6 +322,7 @@ SEQCOUNT_LOCKNAME(mutex,        struct mutex,    true,     mutex)
  * raw_seqcount_try_begin() - begin a seqcount_t read critical section
  *                            w/o lockdep and w/o counter stabilization
  * @s: Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants
+ * @start: Variable to store the sequence count read from @s
  *
  * Similar to raw_seqcount_begin(), except it enables eliding the critical
  * section entirely if odd, instead of doing the speculation knowing it will
-- 
2.34.1