Skip to contentSkip to conversation

binder: remove repeat word from comment to avoid warning

PATCH In review Ajith P V 2 participants 2 messages Dec 23, 2021 – Dec 30, 2021 Android drivers

lore
Share & tools
lore

Ajith P V

author
#0 lore raw

PATCH 1/1 binder: remove repeat word from comment to avoid warning

binder.c file comment produce warning with checkpatch as below:
WARNING: Possible repeated word: 'and'
Remove the repeated word from the comment to avoid this warning.

---
 drivers/android/binder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/binder.c +1 -1
index cffbe57a8e08..fc0f4e8b58bd 100644
@@ -4436,7 +4436,7 @@ static int binder_thread_release(struct binder_proc *proc,
 
 	/*
 	 * This is needed to avoid races between wake_up_poll() above and
-	 * and ep_remove_waitqueue() called for other reasons (eg the epoll file
+	 * ep_remove_waitqueue() called for other reasons (eg the epoll file
 	 * descriptor being closed); ep_remove_waitqueue() holds an RCU read
 	 * lock, so we can be sure it's done after calling synchronize_rcu().
 	 */
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 25 lines · Ajith P V

binder.c file comment produce warning with checkpatch as below:
WARNING: Possible repeated word: 'and'
Remove the repeated word from the comment to avoid this warning.

---
 drivers/android/binder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/binder.c +1 -1
index cffbe57a8e08..fc0f4e8b58bd 100644
@@ -4436,7 +4436,7 @@ static int binder_thread_release(struct binder_proc *proc,
 
 	/*
 	 * This is needed to avoid races between wake_up_poll() above and
-	 * and ep_remove_waitqueue() called for other reasons (eg the epoll file
+	 * ep_remove_waitqueue() called for other reasons (eg the epoll file
 	 * descriptor being closed); ep_remove_waitqueue() holds an RCU read
 	 * lock, so we can be sure it's done after calling synchronize_rcu().
 	 */
Signature · 1 line
2.17.1

Does not apply to my tree at all :(