summaryrefslogtreecommitdiff
path: root/drivers/android
diff options
context:
space:
mode:
authorBa Jing <bajing@cmss.chinamobile.com>2024-09-02 08:23:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-11 17:02:45 +0300
commite9e46ed220abe2bac542d1b682d6dff68145c19f (patch)
tree2c683cc0fd1f91e595a9d50a8a4c62a7c73b10b0 /drivers/android
parent895b4fae931a256f6c7c6c68f77a8e337980b5a1 (diff)
downloadlinux-e9e46ed220abe2bac542d1b682d6dff68145c19f.tar.xz
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>
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 87e1d9603289..978740537a1a 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -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()