[PATCH] staging: vchiq_core: Fix code indent errors

Hridesh MG posted 1 patch 1 month, 3 weeks ago
.../vc04_services/interface/vchiq_arm/vchiq_core.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
[PATCH] staging: vchiq_core: Fix code indent errors
Posted by Hridesh MG 1 month, 3 weeks ago
Replace spaces with tabs to adhere to kernel coding style.

Reported by checkpatch:

ERROR: code indent should use tabs where possible

Signed-off-by: Hridesh MG <hridesh699@gmail.com>
---
 .../vc04_services/interface/vchiq_arm/vchiq_core.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
index 1f94db6e0cd9..3f3ef1ca7154 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
@@ -2761,13 +2761,13 @@ vchiq_bulk_xfer_queue_msg_interruptible(struct vchiq_service *service,
 		state->id, service->localport, dir_char, queue->local_insert,
 		queue->remote_insert, queue->process);
 
-        if (bulk_waiter) {
-                bulk_waiter->bulk = bulk;
-                if (wait_for_completion_interruptible(&bulk_waiter->event))
-                        status = -EAGAIN;
-                else if (bulk_waiter->actual == VCHIQ_BULK_ACTUAL_ABORTED)
-                        status = -EINVAL;
-        }
+	if (bulk_waiter) {
+		bulk_waiter->bulk = bulk;
+		if (wait_for_completion_interruptible(&bulk_waiter->event))
+			status = -EAGAIN;
+		else if (bulk_waiter->actual == VCHIQ_BULK_ACTUAL_ABORTED)
+			status = -EINVAL;
+	}
 
 	return status;
 
-- 
2.46.1
Re: [PATCH] staging: vchiq_core: Fix code indent errors
Posted by Greg Kroah-Hartman 1 month, 2 weeks ago
On Mon, Oct 07, 2024 at 08:52:12PM +0530, Hridesh MG wrote:
> Replace spaces with tabs to adhere to kernel coding style.
> 
> Reported by checkpatch:
> 
> ERROR: code indent should use tabs where possible
> 
> Signed-off-by: Hridesh MG <hridesh699@gmail.com>
> ---
>  .../vc04_services/interface/vchiq_arm/vchiq_core.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
> index 1f94db6e0cd9..3f3ef1ca7154 100644
> --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
> +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
> @@ -2761,13 +2761,13 @@ vchiq_bulk_xfer_queue_msg_interruptible(struct vchiq_service *service,
>  		state->id, service->localport, dir_char, queue->local_insert,
>  		queue->remote_insert, queue->process);
>  
> -        if (bulk_waiter) {
> -                bulk_waiter->bulk = bulk;
> -                if (wait_for_completion_interruptible(&bulk_waiter->event))
> -                        status = -EAGAIN;
> -                else if (bulk_waiter->actual == VCHIQ_BULK_ACTUAL_ABORTED)
> -                        status = -EINVAL;
> -        }
> +	if (bulk_waiter) {
> +		bulk_waiter->bulk = bulk;
> +		if (wait_for_completion_interruptible(&bulk_waiter->event))
> +			status = -EAGAIN;
> +		else if (bulk_waiter->actual == VCHIQ_BULK_ACTUAL_ABORTED)
> +			status = -EINVAL;
> +	}
>  
>  	return status;
>  
> -- 
> 2.46.1
> 
> 

No longer applies to the tree due to other changes that were submitted
before you, sorry.

greg k-h
Re: [PATCH] staging: vchiq_core: Fix code indent errors
Posted by Dan Carpenter 1 month, 3 weeks ago
On Mon, Oct 07, 2024 at 08:52:12PM +0530, Hridesh MG wrote:
> Replace spaces with tabs to adhere to kernel coding style.
> 
> Reported by checkpatch:
> 
> ERROR: code indent should use tabs where possible
> 
> Signed-off-by: Hridesh MG <hridesh699@gmail.com>
> ---

Thanks.

Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>

regards,
dan carpenter