USB: storage: karma: add whitespace after declarations

This change “USB: storage: karma: add whitespace after declarations” in Linux kernel is authored by Bharath Vedartham <linux.bhar [at] gmail.com> on Mon Jan 21 16:34:55 2019 +0530.

USB: storage: karma: add whitespace after declarations

fixed the checkpatch.pl warning:

WARNING: Missing a blank line after declarations

Added space after declarations to conform to coding style.

Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit 9812de4.

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/usb/storage/karma.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/storage/karma.c b/drivers/usb/storage/karma.c
index edcf2be..395cf8f 100644
--- a/drivers/usb/storage/karma.c
+++ b/drivers/usb/storage/karma.c
@@ -167,6 +167,7 @@ static int rio_karma_transport(struct scsi_cmnd *srb, struct us_data *us)
 static void rio_karma_destructor(void *extra)
 {
 	struct karma_data *data = (struct karma_data *) extra;
+
 	kfree(data->recv);
 }
 
@@ -174,6 +175,7 @@ static int rio_karma_init(struct us_data *us)
 {
 	int ret = 0;
 	struct karma_data *data = kzalloc(sizeof(struct karma_data), GFP_NOIO);
+
 	if (!data)
 		goto out;
 

The commit for this change in Linux stable tree is 9812de4 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *