linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement
@ 2016-05-16 11:35 Colin King
  2016-05-27 15:23 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2016-05-16 11:35 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Tejun Heo, Jiri Kosina, linux-ide; +Cc: linux-kernel

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement
  2016-05-16 11:35 [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement Colin King
@ 2016-05-27 15:23 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2016-05-27 15:23 UTC (permalink / raw)
  To: Colin King
  Cc: Bartlomiej Zolnierkiewicz, Jiri Kosina, linux-ide, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-27 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-16 11:35 [PATCH] pata_atiixp: fix trivial indentation misalignment on if statement Colin King
2016-05-27 15:23 ` Tejun Heo

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).