linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Julia Lawall <Julia.Lawall@lip6.fr>
To: linux-kernel@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org
Subject: [PATCH 4/8] firmware: stratix10-svc: reduce indentation
Date: Sun, 30 Dec 2018 16:53:11 +0100	[thread overview]
Message-ID: <1546185195-25676-5-git-send-email-Julia.Lawall@lip6.fr> (raw)
In-Reply-To: <1546185195-25676-1-git-send-email-Julia.Lawall@lip6.fr>

Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.

Found with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
 drivers/firmware/stratix10-svc.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c
index 6e6514825ad0..ec99eed3edea 100644
--- a/drivers/firmware/stratix10-svc.c
+++ b/drivers/firmware/stratix10-svc.c
@@ -766,12 +766,12 @@ int stratix10_svc_send(struct stratix10_svc_chan *chan, void *msg)
 					      (void *)chan->ctrl,
 					      cpu_to_node(cpu),
 					      "svc_smc_hvc_thread");
-			if (IS_ERR(chan->ctrl->task)) {
-				dev_err(chan->ctrl->dev,
-					"fails to create svc_smc_hvc_thread\n");
-				kfree(p_data);
-				return -EINVAL;
-			}
+		if (IS_ERR(chan->ctrl->task)) {
+			dev_err(chan->ctrl->dev,
+				"fails to create svc_smc_hvc_thread\n");
+			kfree(p_data);
+			return -EINVAL;
+		}
 		kthread_bind(chan->ctrl->task, cpu);
 		wake_up_process(chan->ctrl->task);
 	}


  parent reply	other threads:[~2018-12-30 16:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-30 15:53 [PATCH 0/8] reduce indentation Julia Lawall
2018-12-30 15:53 ` [PATCH 1/8] usb: gadget: udc: " Julia Lawall
2018-12-30 15:53 ` [PATCH 2/8] net: ena: " Julia Lawall
2018-12-30 15:53 ` [PATCH 3/8] i40e: increase indentation Julia Lawall
2019-01-03 23:58   ` Jeff Kirsher
2019-01-04  0:37     ` David Miller
2019-01-04  0:47       ` Jeff Kirsher
2019-01-11 18:44   ` [Intel-wired-lan] " Bowers, AndrewX
2018-12-30 15:53 ` Julia Lawall [this message]
2018-12-30 15:53 ` [PATCH 5/8] staging: rtl8192e: reduce indentation Julia Lawall
2018-12-30 15:53 ` [PATCH 6/8] scsi: pm80xx: " Julia Lawall
2019-01-02  7:27   ` Jinpu Wang
2019-01-04  6:01   ` Martin K. Petersen
2018-12-30 15:53 ` [PATCH 7/8] drm/msm/dsi: " Julia Lawall
2018-12-30 15:53 ` [PATCH 8/8] iommu/msm: " Julia Lawall
2019-01-11 11:25   ` Joerg Roedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1546185195-25676-5-git-send-email-Julia.Lawall@lip6.fr \
    --to=julia.lawall@lip6.fr \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).