[PATCH] Staging: android: ion: fixed 2 over 80 character lines in ion.c
Liam Murphy
liam at lpmdesigns.com
Sun May 22 23:44:02 UTC 2016
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 at lpmdesigns.com
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 at lpmdesigns.com>
> ---
> 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
>
More information about the devel
mailing list