* [PATCH] firmware: stratix10-svc: Delete some stray tabs
@ 2025-11-21 13:34 Dan Carpenter
2025-12-09 23:40 ` Dinh Nguyen
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2025-11-21 13:34 UTC (permalink / raw)
To: Mahesh Rao, Richard Gong; +Cc: Dinh Nguyen, linux-kernel, kernel-janitors
These lines are indented one tab too far. Delete the extra tabs
for readability.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
drivers/firmware/stratix10-svc.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c
index b91f68d9ae98..59d9f588d9ee 100644
--- a/drivers/firmware/stratix10-svc.c
+++ b/drivers/firmware/stratix10-svc.c
@@ -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__,
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] firmware: stratix10-svc: Delete some stray tabs
2025-11-21 13:34 [PATCH] firmware: stratix10-svc: Delete some stray tabs Dan Carpenter
@ 2025-12-09 23:40 ` Dinh Nguyen
0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2025-12-09 23:40 UTC (permalink / raw)
To: Dan Carpenter, Mahesh Rao, Richard Gong; +Cc: linux-kernel, kernel-janitors
On 11/21/25 07:34, Dan Carpenter wrote:
> These lines are indented one tab too far. Delete the extra tabs
> for readability.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---
> drivers/firmware/stratix10-svc.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c
> index b91f68d9ae98..59d9f588d9ee 100644
> --- a/drivers/firmware/stratix10-svc.c
> +++ b/drivers/firmware/stratix10-svc.c
> @@ -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__,
Applied!
Thanks,
Dinh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-09 23:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-21 13:34 [PATCH] firmware: stratix10-svc: Delete some stray tabs Dan Carpenter
2025-12-09 23:40 ` Dinh Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox