summaryrefslogtreecommitdiff
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorBharath Vedartham <linux.bhar@gmail.com>2019-01-21 14:04:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 11:08:17 +0300
commit9812de4fb87439427c9b8cf1f3b839731f898afd (patch)
tree4f64f682d592bc69cf9059aee2a44ea5f8d8b634 /drivers/usb/storage
parentd7a6c0ce8d26412903c7981503bad9e1cc7c45d2 (diff)
downloadlinux-9812de4fb87439427c9b8cf1f3b839731f898afd.tar.xz
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>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/karma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/storage/karma.c b/drivers/usb/storage/karma.c
index edcf2be0e0eb..395cf8fb5870 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;