[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1395863813-11596-1-git-send-email-hahnjo@hahnjo.de>
Date: Wed, 26 Mar 2014 20:56:53 +0100
From: Jonas Hahnfeld <hahnjo@...njo.de>
To: acho@...ell.com, gregkh@...uxfoundation.org,
rashika.kheria@...il.com, peter.p.waskiewicz.jr@...el.com,
of82ecuq@....cs.fau.de, laura.lawniczak@...glemail.com,
amarjargal16@...il.com, himangi774@...il.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Cc: Jonas Hahnfeld <hahnjo@...njo.de>
Subject: [PATCH] staging: keucr: Fix warning about missing blank lines after declarations
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@...njo.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
--
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