Skip to content

Commit 3c7fd94

Browse files
surenbaghdasaryanakpm00
authored andcommitted
seqlock: add missing parameter documentation for raw_seqcount_try_begin()
Add missing documentation for raw_seqcount_try_begin() start parameter. Link: https://lkml.kernel.org/r/20250116182730.801497-1-surenb@google.com Fixes: dba4761 ("seqlock: add raw_seqcount_try_begin") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/all/20250116170522.23e884d5@canb.auug.org.au/ Signed-off-by: Suren Baghdasaryan <surenb@google.com> Acked-by: Waiman Long <longman@redhat.com> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: David Hildenbrand <david@redhat.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 6aeb991 commit 3c7fd94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/seqlock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ SEQCOUNT_LOCKNAME(mutex, struct mutex, true, mutex)
322322
* raw_seqcount_try_begin() - begin a seqcount_t read critical section
323323
* w/o lockdep and w/o counter stabilization
324324
* @s: Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants
325+
* @start: count to be passed to read_seqcount_retry()
325326
*
326327
* Similar to raw_seqcount_begin(), except it enables eliding the critical
327328
* section entirely if odd, instead of doing the speculation knowing it will

0 commit comments

Comments
 (0)