Re: [PATCH] Staging: android: ion: fixed 2 over 80 character lines in ion.c

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

 



Apologies on double email if you received two, bash said there were
issues, just wanted to make sure all was good.

-- 
  Liam Murphy
  Web Design, Open Source.
  liam@xxxxxxxxxxxxxx

On Sun, May 22, 2016, at 04:42 PM, Liam Murphy wrote:
> Assuming we wish to keep at 80 characters or less still.
> checkpatch.pl gave off 2 warnings for ion.c for over 80 character lines.
> Fixed
> 
> Signed-off-by: Liam Murphy <liam@xxxxxxxxxxxxxx>
> ---
>  drivers/staging/android/ion/ion.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/android/ion/ion.c
> b/drivers/staging/android/ion/ion.c
> index a2cf93b..51e9774 100644
> --- a/drivers/staging/android/ion/ion.c
> +++ b/drivers/staging/android/ion/ion.c
> @@ -551,7 +551,8 @@ struct ion_handle *ion_alloc(struct ion_client
> *client, size_t len,
>  }
>  EXPORT_SYMBOL(ion_alloc);
>  
> -static void ion_free_nolock(struct ion_client *client, struct ion_handle
> *handle)
> +static void ion_free_nolock(struct ion_client *client,
> +                               struct ion_handle *handle)
>  {
>  	bool valid_handle;
>  
> @@ -1358,7 +1359,8 @@ static long ion_ioctl(struct file *filp, unsigned
> int cmd, unsigned long arg)
>  		struct ion_handle *handle;
>  
>  		mutex_lock(&client->lock);
> -               handle = ion_handle_get_by_id_nolock(client,
> data.handle.handle);
> +               handle = ion_handle_get_by_id_nolock(client,
> +                                       data.handle.handle);
>  		if (IS_ERR(handle)) {
>  			mutex_unlock(&client->lock);
>  			return PTR_ERR(handle);
> -- 
> 2.8.2
> 
_______________________________________________
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