mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Tanaka <thomas.tanaka@gmail.com>
To: gregkh@linuxfoundation.org
Cc: monamagarwal123@gmail.com, thomas.tanaka@gmail.com,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: rts5139: fixed coding style
Date: Wed, 16 Apr 2014 21:05:09 -0700	[thread overview]
Message-ID: <1397707509-22215-1-git-send-email-thomas.tanaka@gmail.com> (raw)

Fixed checkpatch warnings > 80 lines

Signed-off-by: Thomas Tanaka <thomas.tanaka@gmail.com>
---
 drivers/staging/rts5139/rts51x_fop.c |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/rts5139/rts51x_fop.c b/drivers/staging/rts5139/rts51x_fop.c
index 677d18b..cf4e675 100644
--- a/drivers/staging/rts5139/rts51x_fop.c
+++ b/drivers/staging/rts5139/rts51x_fop.c
@@ -70,7 +70,8 @@ static int rts51x_sd_direct_cmnd(struct rts51x_chip *chip,
 	switch (dir) {
 	case 0:
 		/* No data */
-		retval = ext_rts51x_sd_execute_no_data(chip, chip->card2lun[SD_CARD],
+		retval = ext_rts51x_sd_execute_no_data(chip,
+						chip->card2lun[SD_CARD],
 						cmd_idx, standby, acmd,
 						rsp_code, arg);
 		if (retval != TRANSPORT_GOOD)
@@ -83,10 +84,11 @@ static int rts51x_sd_direct_cmnd(struct rts51x_chip *chip,
 		if (!buf)
 			TRACE_RET(chip, STATUS_NOMEM);
 
-		retval = ext_rts51x_sd_execute_read_data(chip, chip->card2lun[SD_CARD],
-						  cmd_idx, cmd12, standby, acmd,
-						  rsp_code, arg, len, buf,
-						  cmnd->buf_len, 0);
+		retval = ext_rts51x_sd_execute_read_data(chip,
+						chip->card2lun[SD_CARD],
+						cmd_idx, cmd12, standby, acmd,
+						rsp_code, arg, len, buf,
+						cmnd->buf_len, 0);
 		if (retval != TRANSPORT_GOOD) {
 			kfree(buf);
 			TRACE_RET(chip, STATUS_FAIL);
@@ -117,10 +119,11 @@ static int rts51x_sd_direct_cmnd(struct rts51x_chip *chip,
 		}
 
 		retval =
-		    ext_rts51x_sd_execute_write_data(chip, chip->card2lun[SD_CARD],
-					      cmd_idx, cmd12, standby, acmd,
-					      rsp_code, arg, len, buf,
-					      cmnd->buf_len, 0);
+		    ext_rts51x_sd_execute_write_data(chip,
+						chip->card2lun[SD_CARD],
+						cmd_idx, cmd12, standby, acmd,
+						rsp_code, arg, len, buf,
+						cmnd->buf_len, 0);
 		if (retval != TRANSPORT_GOOD) {
 			kfree(buf);
 			TRACE_RET(chip, STATUS_FAIL);
-- 
1.7.9.5


                 reply	other threads:[~2014-04-17  4:05 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=1397707509-22215-1-git-send-email-thomas.tanaka@gmail.com \
    --to=thomas.tanaka@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=monamagarwal123@gmail.com \
    /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®