Skip to contentSkip to conversation

binder: modify the comment for binder_proc_unlock

PATCH Superseded Carlos Llamas 2 participants 3 messages Sep 2, 2024 – Sep 3, 2024 Android drivers

lore
Share & tools
lore

Carlos Llamas

author maintainer
#0 lore raw

PATCH 1/1 binder: modify the comment for binder_proc_unlock

From: bajing <[email protected]>

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().

---
 drivers/android/binder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/binder.c +1 -1
index 905290c98c3c..089bf2b45f0d 100644
@@ -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()
Signature · 1 line
2.46.0.469.g59c65b2a67-goog
author maintainer
#1 lore raw

PATCH v3 1/1 binder: modify the comment for binder_proc_unlock

From: bajing <[email protected]>

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().

---

Notes:
v1: https://lore.kernel.org/all/[email protected]/

v2: Reword commit log per suggestions from cmllamas@
https://lore.kernel.org/all/[email protected]/

v3: Wrap commit message. Add version history.

 drivers/android/binder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/binder.c +1 -1
index 905290c98c3c..089bf2b45f0d 100644
@@ -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()
Signature · 1 line
2.46.0.469.g59c65b2a67-goog
#2 lore raw
Quoted 7 lines · Carlos Llamas

From: bajing <[email protected]>

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().

Sorry, but this needs to be a full name, not just an email alias.

thanks,

greg k-h