ipc/sem: fix kernel-doc for perform_atomic_semop_slow
PATCH 1/1 ipc/sem: fix kernel-doc for perform_atomic_semop_slow
Building with W=1 warns:
Warning: ipc/sem.c:629 This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* perform_atomic_semop[_slow] - Attempt to perform semaphore
The function name was changed as part of commit 4ce33ec2e42d ("ipc/sem:
optimize perform_atomic_semop()"), but the kernel-doc uses "perform_atomic_semop[_slow]". Document the function name explicitly to squash warning.
Signed-off-by Sukrut Heroorkar <[email protected]>
--- ipc/sem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ipc/sem.c +1 -1
@@ -627,7 +627,7 @@ SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) }/** -* perform_atomic_semop[_slow] - Attempt to perform semaphore +* perform_atomic_semop_slow - Attempt to perform semaphore * operations on a given array. * @sma: semaphore array * @q: struct sem_queue that describes the operation
Signature · 1 line
2.43.0