Re: [PATCH] ANDROID: doc: Fix spelling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 06, 2018 at 03:52:43PM +0000, Daniel Bovensiepen wrote:
> Fixed spelling in comment section.
> 
> Signed-off-by: Daniel Bovensiepen <daniel@xxxxxxxxxxxxxxx>

Acked-by: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>


> ---
>  drivers/staging/android/ashmem.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
> index a880b5c6c6c3..90a8a9f1ac7d 100644
> --- a/drivers/staging/android/ashmem.c
> +++ b/drivers/staging/android/ashmem.c
> @@ -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.
>  	 */
> -- 
> 2.17.1
> 
> 
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux