[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1314054371-4373-1-git-send-email-tom.lane0@gmail.com>
Date:	Tue, 23 Aug 2011 00:06:11 +0100
From:	Tom Lane <tom.lane0@...il.com>
To:	jgarzik@...ox.com
Cc:	linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
	Tom Lane <tom.lane0@...il.com>
Subject: [PATCH 2/2] Drivers: ata: sata_qstor: Fixed spaces after [ issues in sata_qstor.c
Fixed coding style errors in the sata_qstor driver, omitted one on line 538, fixing this one would hinder
readability of the code.
Signed-off-by: Tom Lane <tom.lane0@...il.com>
---
 drivers/ata/sata_qstor.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ata/sata_qstor.c b/drivers/ata/sata_qstor.c
index 9d1a47b..5f36b5d 100644
--- a/drivers/ata/sata_qstor.c
+++ b/drivers/ata/sata_qstor.c
@@ -299,10 +299,10 @@ static void qs_qc_prep(struct ata_queued_cmd *qc)
 		dflags |= QS_DF_ELBA;
 	/* host control block (HCB) */
-	buf[ 0] = QS_HCB_HDR;
-	buf[ 1] = hflags;
-	*(__le32 *)(&buf[ 4]) = cpu_to_le32(qc->nbytes);
-	*(__le32 *)(&buf[ 8]) = cpu_to_le32(nelem);
+	buf[0] = QS_HCB_HDR;
+	buf[1] = hflags;
+	*(__le32 *)(&buf[4]) = cpu_to_le32(qc->nbytes);
+	*(__le32 *)(&buf[8]) = cpu_to_le32(nelem);
 	addr = ((u64)pp->pkt_dma) + QS_CPB_BYTES;
 	*(__le64 *)(&buf[16]) = cpu_to_le64(addr);
--
1.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists