Skip to content

Commit e9e46ed

Browse files
Ba Jinggregkh
authored andcommitted
binder: modify the comment for binder_proc_unlock
Modify the comment for binder_proc_unlock() to clearly indicate which spinlock it releases and to better match the acquire comment block in binder_proc_lock(). Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com> Acked-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20240902052330.3115-1-bajing@cmss.chinamobile.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 895b4fa commit e9e46ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/android/binder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ _binder_proc_lock(struct binder_proc *proc, int line)
277277
}
278278

279279
/**
280-
* binder_proc_unlock() - Release spinlock for given binder_proc
280+
* binder_proc_unlock() - Release outer lock for given binder_proc
281281
* @proc: struct binder_proc to acquire
282282
*
283283
* Release lock acquired via binder_proc_lock()

0 commit comments

Comments
 (0)