Commit e9e46ed2 authored by Ba Jing's avatar Ba Jing Committed by Greg Kroah-Hartman
Browse files

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: default avatarBa Jing <bajing@cmss.chinamobile.com>
Acked-by: default avatarCarlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20240902052330.3115-1-bajing@cmss.chinamobile.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 895b4fae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ _binder_proc_lock(struct binder_proc *proc, int line)
}

/**
 * binder_proc_unlock() - Release spinlock for given binder_proc
 * binder_proc_unlock() - Release outer lock for given binder_proc
 * @proc:                struct binder_proc to acquire
 *
 * Release lock acquired via binder_proc_lock()