drivers:staging:android Typos: fix some comments that have typos in them.
PATCH v2 1/1 drivers:staging:android Typos: fix some comments that have typos in them.
From: "Justin P. Mattock" <[email protected]>
Below is a patch that fixes some typos in some comments.
Signed-off-by Justin P. Mattock <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Randy Dunlap <[email protected]>
--- drivers/staging/android/TODO | 2 +- drivers/staging/android/binder.c | 2 +- drivers/staging/android/pmem.c | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-)
drivers/staging/android/TODO +1 -1
@@ -3,7 +3,7 @@ TODO: - sparse fixes - rename files to be not so "generic" - make sure things build as modules properly - - add proper arch dependancies as needed + - add proper arch dependencies as needed - audit userspace interfaces to make sure they are sane Please send patches to Greg Kroah-Hartman <[email protected]> and Cc:
drivers/staging/android/binder.c +1 -1
@@ -257,7 +257,7 @@ struct binder_ref { };struct binder_buffer { -struct list_head entry;/* free and allocated entries by addesss */ +struct list_head entry;/* free and allocated entries by address */ struct rb_node rb_node;/* free entry by size or allocated entry */ /* by address */ unsigned free:1 ;
drivers/staging/android/pmem.c +5 -5
@@ -34,7 +34,7 @@#define PMEM_DEBUG 1 -/* indicates that a refernce to this file has been taken via get_pmem_file, +/* indicates that a reference to this file has been taken via get_pmem_file, * the file should not be released until put_pmem_file is called */ #define PMEM_FLAGS_BUSY 0x1/* indicates that this is a suballocation of a larger master range */
@@ -58,14 +58,14 @@ struct pmem_data {/* see flags above for descriptions */ unsigned int flags;/* protects this data field, if the mm_mmap sem will be held at the -* same time as this sem, the mm sem must be taken first (as this is +* same time as this sem, the mm sem must be taken first as this is * the order for vma_open and vma_close ops */ struct rw_semaphore sem;/* info about the mmaping process */ struct vm_area_struct *vma;/* task struct of the mapping process */ struct task_struct *task; -/* process id of teh mapping process */ +/* process id of the mapping process */ pid_t pid;/* file descriptor of the master */ int master_fd;
@@ -138,7 +138,7 @@ struct pmem_info {* dereferencing a pointer into bitmap * * pmem_data->sem protects the pmem data of a particular file -* Many of the function that require the pmem_data->sem have a non- +* Many of the functions that require the pmem_data->sem have a non- * locking version for when the caller is already holding that sem. * * IF YOU TAKE BOTH LOCKS TAKE THEM IN THIS ORDER:
@@ -296,7 +296,7 @@ static int pmem_release(struct inode *inode, struct file *file)down_write (&data->sem); -/* if its not a conencted file and it has an allocation, free it */ +/* if it's not a connected file and it has an allocation, free it */ if (!(PMEM_FLAGS_CONNECTED & data->flags) &&has_allocation (file)) {down_write (&pmem[id].bitmap_sem); ret =pmem_free (id, data->index);
Signature · 1 line
1.7.5.4