Skip to contentSkip to conversation

binder: Fix misspelled words in two files

PATCH New Carlos Bilbao 1 participant 1 message Feb 8, 2022 Android drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binder: Fix misspelled words in two files

Fix a few words misspelled in binder.c and binderfs.c.

---
 drivers/android/binder.c   | 2 +-
 drivers/android/binderfs.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/android/binder.c +1 -1
index 49fb74196d02..87b35074b01f 100644
@@ -1394,7 +1394,7 @@ static void binder_thread_dec_tmpref(struct binder_thread *thread)
  * by threads that are being released. When done with the binder_proc,
  * this function is called to decrement the counter and free the
  * proc if appropriate (proc has been released, all threads have
- * been released and not currenly in-use to process a transaction).
+ * been released and not currently in-use to process a transaction).
  */
 static void binder_proc_dec_tmpref(struct binder_proc *proc)
 {
drivers/android/binderfs.c +2 -2
index e3605cdd4335..3a7ce5117881 100644
@@ -93,7 +93,7 @@ bool is_binderfs_device(const struct inode *inode)
 /**
  * binderfs_binder_device_create - allocate inode from super block of a
  *                                 binderfs mount
- * @ref_inode: inode from wich the super block will be taken
+ * @ref_inode: inode from which the super block will be taken
  * @userp:     buffer to copy information about new device for userspace to
  * @req:       struct binderfs_device as copied from userspace
  *
@@ -159,7 +159,7 @@ static int binderfs_binder_device_create(struct inode *ref_inode,
 	inode->i_uid = info->root_uid;
 	inode->i_gid = info->root_gid;
 
-	req->name[BINDERFS_MAX_NAME] = '\0'; /* NUL-terminate */
+	req->name[BINDERFS_MAX_NAME] = '\0'; /* NULL-terminate */
 	name_len = strlen(req->name);
 	/* Make sure to include terminating NUL byte */
 	name = kmemdup(req->name, name_len + 1, GFP_KERNEL);
Signature · 1 line
2.27.0