diff options
author | Johannes Postma <jgmpostma@gmail.com> | 2015-07-08 13:41:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-14 20:17:06 -0700 |
commit | 9fccffbfd9505116c0ab847742aafaa7da55d413 (patch) | |
tree | 1b5c809302ad17a61a89d1093bd24a7c5100d5e8 | |
parent | 4221844a627aaebf28732d6e891de2aa4db38aa0 (diff) | |
download | linux-9fccffbfd9505116c0ab847742aafaa7da55d413.tar.bz2 |
Staging: ozwpan: ozusbsvc1.c: Fix missing blank line after declarations
This patch fixes a missing line after declarations issue.
Signed-off-by: Johannes Postma <jgmpostma@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/ozwpan/ozusbsvc1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ozwpan/ozusbsvc1.c b/drivers/staging/ozwpan/ozusbsvc1.c index 301fee8625ed..b6cfecbeabf7 100644 --- a/drivers/staging/ozwpan/ozusbsvc1.c +++ b/drivers/staging/ozwpan/ozusbsvc1.c @@ -327,6 +327,7 @@ static void oz_usb_handle_ep_data(struct oz_usb_ctx *usb_ctx, (struct oz_multiple_fixed *)data_hdr; u8 *data = body->data; unsigned int n; + if (!body->unit_size || len < sizeof(struct oz_multiple_fixed) - 1) break; |