Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1401457 > unrolled thread

[PATCH] pata_atiixp: fix trivial indentation misalignment on if statement

Started byColin King <colin.king@canonical.com>
First post2016-05-16 13:40 +0200
Last post2016-05-27 17:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement Colin King <colin.king@canonical.com> - 2016-05-16 13:40 +0200
    Re: [PATCH] pata_atiixp: fix trivial indentation misalignment on if  statement Tejun Heo <tj@kernel.org> - 2016-05-27 17:30 +0200

#1401457 — [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement

FromColin King <colin.king@canonical.com>
Date2016-05-16 13:40 +0200
Subject[PATCH] pata_atiixp: fix trivial indentation misalignment on if statement
Message-ID<rzp2q-6ui-21@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

Remove extraneous space on if statement and on the following line,
trivial fix, no functional change

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/ata/pata_atiixp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
index 970f776..49d705c 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -183,8 +183,8 @@ static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev)
 	 *	We must now look at the PIO mode situation. We may need to
 	 *	adjust the PIO mode to keep the timings acceptable
 	 */
-	 if (adev->dma_mode >= XFER_MW_DMA_2)
-	 	wanted_pio = 4;
+	if (adev->dma_mode >= XFER_MW_DMA_2)
+		wanted_pio = 4;
 	else if (adev->dma_mode == XFER_MW_DMA_1)
 		wanted_pio = 3;
 	else if (adev->dma_mode == XFER_MW_DMA_0)
-- 
2.8.1

[toc] | [next] | [standalone]


#1408138 — Re: [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement

FromTejun Heo <tj@kernel.org>
Date2016-05-27 17:30 +0200
SubjectRe: [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement
Message-ID<rDrS2-59z-23@gated-at.bofh.it>
In reply to#1401457
On Mon, May 16, 2016 at 12:35:03PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Remove extraneous space on if statement and on the following line,
> trivial fix, no functional change
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied to libata/for-4.8.

Thanks.

-- 
tejun

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web