[PATCH] driver: staging: android: binder.c: Fixed line over 80 characters warning.

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Sep 24 22:02:47 UTC 2014


On Tue, Sep 23, 2014 at 07:12:09PM -0400, Elshad Mustafayev wrote:
> Fixed a coding style issue.
> 
> Signed-off-by: Elshad Mustafayev <elshadimo at gmail.com>
> ---
>  drivers/staging/android/binder.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
> index c69c40d..71424bf 100644
> --- a/drivers/staging/android/binder.c
> +++ b/drivers/staging/android/binder.c
> @@ -664,8 +664,9 @@ static struct binder_buffer *binder_alloc_buf(struct binder_proc *proc,
>  		ALIGN(offsets_size, sizeof(void *));
>  
>  	if (size < data_size || size < offsets_size) {
> -		binder_user_error("%d: got transaction with invalid size %zd-%zd\n",
> -				proc->pid, data_size, offsets_size);
> +		binder_user_error(
> +			"%d: got transaction with invalid size %zd-%zd\n",
> +			proc->pid, data_size, offsets_size);

Nope, original code is just fine, checkpatch is giving you a
false-warning here.

greg k-h


More information about the devel mailing list