lkml.org 
[lkml]   [2020]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Staging: vc04_services: Fix code indent error
On Mon, Jul 13, 2020 at 12:52:24PM +0530, Baidyanath Kundu wrote:
> This patch fixes the checkpatch.pl error:
>
> ERROR: code indent should use tabs where possible
>
> Signed-off-by: Baidyanath Kundu <kundubaidya99@gmail.com>
> ---
> .../staging/vc04_services/vchiq-mmal/mmal-vchiq.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
> index a075cd63da7f..86c00b68f099 100644
> --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
> +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
> @@ -294,13 +294,13 @@ static void buffer_to_host_work_cb(struct work_struct *work)
> /* queue the bulk submission */
> vchiq_use_service(instance->service_handle);
> ret = vchiq_bulk_receive(instance->service_handle,
> - msg_context->u.bulk.buffer->buffer,
> - /* Actual receive needs to be a multiple
> - * of 4 bytes
> - */
> - (len + 3) & ~3,
> - msg_context,
> - VCHIQ_BULK_MODE_CALLBACK);
> + msg_context->u.bulk.buffer->buffer,
> + /* Actual receive needs to be a multiple
> + * of 4 bytes
> + */
> + (len + 3) & ~3,
> + msg_context,
> + VCHIQ_BULK_MODE_CALLBACK);

Close, you need one more space for these lines, right?

thanks,

greg k-h

\
 
 \ /
  Last update: 2020-07-13 15:36    [W:0.713 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site