firmware: stratix10-svc: Delete some stray tabs
Subsystems (2)
PATCH 1/1 firmware: stratix10-svc: Delete some stray tabs
These lines are indented one tab too far. Delete the extra tabs for readability.
Signed-off-by Dan Carpenter <[email protected]>
--- drivers/firmware/stratix10-svc.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/firmware/stratix10-svc.c +7 -7
@@ -1316,7 +1316,7 @@ int stratix10_svc_async_send(struct stratix10_svc_chan *chan, void *msg,dev_dbg (ctrl->dev,"Async message sent with transaction_id 0x%02x\n" , handle->transaction_id); - *handler = handle; + *handler = handle;return 0 ;case INTEL_SIP_SMC_STATUS_BUSY :dev_warn (ctrl->dev,"Mailbox is busy, try after some time\n" );
@@ -1701,12 +1701,12 @@ int stratix10_svc_send(struct stratix10_svc_chan *chan, void *msg)kthread_run_on_cpu (svc_normal_to_secure_thread, (void *)chan->ctrl, cpu,"svc_smc_hvc_thread" ); -if (IS_ERR (chan->ctrl->task)) { -dev_err (chan->ctrl->dev, -"failed to create svc_smc_hvc_thread\n" ); -kfree (p_data); -return -EINVAL ; - } +if (IS_ERR (chan->ctrl->task)) { +dev_err (chan->ctrl->dev, +"failed to create svc_smc_hvc_thread\n" ); +kfree (p_data); +return -EINVAL ; + } } pr_debug("%s: sent P-va=%p, P-com=%x, P-size=%u\n", __func__,
Signature · 1 line
2.51.0
Quoted 30 lines · Dan Carpenter
These lines are indented one tab too far. Delete the extra tabs for readability.
Signed-off-by Dan Carpenter <[email protected]>--- drivers/firmware/stratix10-svc.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)drivers/firmware/stratix10-svc.c +1
-6@@ -1316,7 +1316,7 @@ int stratix10_svc_async_send(struct stratix10_svc_chan *chan, void *msg,dev_dbg (ctrl->dev,"Async message sent with transaction_id 0x%02x\n" , handle->transaction_id); - *handler = handle; + *handler = handle;return 0 ;case INTEL_SIP_SMC_STATUS_BUSY :dev_warn (ctrl->dev,"Mailbox is busy, try after some time\n" );@@ -1701,12 +1701,12 @@ int stratix10_svc_send(struct stratix10_svc_chan *chan, void *msg)kthread_run_on_cpu (svc_normal_to_secure_thread, (void *)chan->ctrl, cpu,"svc_smc_hvc_thread" ); -if (IS_ERR (chan->ctrl->task)) { -dev_err (chan->ctrl->dev, -"failed to create svc_smc_hvc_thread\n" ); -kfree (p_data); -return -EINVAL ;
drivers/firmware/stratix10-svc.c int stratix10_svc_send(struct stratix10_svc_chan *chan, void *msg) · line 1712
Quoted 10 lines
drivers/firmware/stratix10-svc.c +6
-1- } +if (IS_ERR (chan->ctrl->task)) { +dev_err (chan->ctrl->dev, +"failed to create svc_smc_hvc_thread\n" ); +kfree (p_data); +return -EINVAL ; + } } pr_debug("%s: sent P-va=%p, P-com=%x, P-size=%u\n", __func__,
Applied!
Thanks,
Dinh