staging: android: ashmem: doc: Fix spelling

Fixed spelling in comment section.

Signed-off-by: Daniel Bovensiepen <daniel@bovensiepen.net>
Acked-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Daniel Bovensiepen 2018-12-06 15:52:43 +00:00 committed by Greg Kroah-Hartman
parent 0fe6dc4d68
commit 1de24f362f

View File

@ -195,7 +195,7 @@ static int range_alloc(struct ashmem_area *asma,
}
/**
* range_del() - Deletes and dealloctes an ashmem_range structure
* range_del() - Deletes and deallocates an ashmem_range structure
* @range: The associated ashmem_range that has previously been allocated
*/
static void range_del(struct ashmem_range *range)
@ -521,7 +521,7 @@ static int set_name(struct ashmem_area *asma, void __user *name)
* an data abort which would try to access mmap_sem. If another
* thread has invoked ashmem_mmap then it will be holding the
* semaphore and will be waiting for ashmem_mutex, there by leading to
* deadlock. We'll release the mutex and take the name to a local
* deadlock. We'll release the mutex and take the name to a local
* variable that does not need protection and later copy the local
* variable to the structure member with lock held.
*/