On Tue, Sep 23, 2014 at 07:12:09PM -0400, Elshad Mustafayev wrote:
> Fixed a coding style issue.
> 
> Signed-off-by: Elshad Mustafayev <elshad...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to