From: Tom Lane <tom.lane0@gmail.com>
To: jgarzik@pobox.com
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
Tom Lane <tom.lane0@gmail.com>
Subject: [PATCH 2/2] Drivers: ata: sata_qstor: Fixed spaces after [ issues in sata_qstor.c
Date: Tue, 23 Aug 2011 00:06:11 +0100 [thread overview]
Message-ID: <1314054371-4373-1-git-send-email-tom.lane0@gmail.com> (raw)
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@gmail.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
reply other threads:[~2011-08-22 23:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1314054371-4373-1-git-send-email-tom.lane0@gmail.com \
--to=tom.lane0@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@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
all inboxes | Powered by JetHome®