mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonas Hahnfeld <hahnjo@hahnjo.de>
To: acho@novell.com, gregkh@linuxfoundation.org,
	rashika.kheria@gmail.com, peter.p.waskiewicz.jr@intel.com,
	of82ecuq@cip.cs.fau.de, laura.lawniczak@googlemail.com,
	amarjargal16@gmail.com, himangi774@gmail.com,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Cc: Jonas Hahnfeld <hahnjo@hahnjo.de>
Subject: [PATCH] staging: keucr: Fix warning about missing blank lines after declarations
Date: Wed, 26 Mar 2014 20:56:53 +0100	[thread overview]
Message-ID: <1395863813-11596-1-git-send-email-hahnjo@hahnjo.de> (raw)

This patches fixes two warnings of checkpatch.pl, both of the type
WARNING: Missing a blank line after declarations

Signed-off-by: Jonas Hahnfeld <hahnjo@hahnjo.de>
---
 drivers/staging/keucr/smilsub.c   | 1 +
 drivers/staging/keucr/transport.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/staging/keucr/smilsub.c b/drivers/staging/keucr/smilsub.c
index 44ced82..e981f14 100644
--- a/drivers/staging/keucr/smilsub.c
+++ b/drivers/staging/keucr/smilsub.c
@@ -133,6 +133,7 @@ void Set_D_LogBlockAddr(u8 *redundant)
 void Set_D_FailBlock(u8 *redundant)
 {
 	char i;
+
 	for (i = 0; i < REDTSIZE; i++)
 		*redundant++ = (u8)((i == REDT_BLOCK) ? 0xF0 : 0xFF);
 }
diff --git a/drivers/staging/keucr/transport.c b/drivers/staging/keucr/transport.c
index ae94147..5e59525 100644
--- a/drivers/staging/keucr/transport.c
+++ b/drivers/staging/keucr/transport.c
@@ -669,6 +669,7 @@ int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us)
 	/*  R/W data */
 	if (transfer_length) {
 		unsigned int pipe;
+
 		if (srb->sc_data_direction == DMA_FROM_DEVICE)
 			pipe = us->recv_bulk_pipe;
 		else
-- 
1.9.1


                 reply	other threads:[~2014-03-26 19:58 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=1395863813-11596-1-git-send-email-hahnjo@hahnjo.de \
    --to=hahnjo@hahnjo.de \
    --cc=acho@novell.com \
    --cc=amarjargal16@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=himangi774@gmail.com \
    --cc=laura.lawniczak@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=of82ecuq@cip.cs.fau.de \
    --cc=peter.p.waskiewicz.jr@intel.com \
    --cc=rashika.kheria@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®