diff options
| author | Johannes Postma <jgmpostma@gmail.com> | 2015-07-08 15:41:46 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-15 06:17:06 +0300 |
| commit | 9fccffbfd9505116c0ab847742aafaa7da55d413 (patch) | |
| tree | 1b5c809302ad17a61a89d1093bd24a7c5100d5e8 | |
| parent | 4221844a627aaebf28732d6e891de2aa4db38aa0 (diff) | |
| download | linux-9fccffbfd9505116c0ab847742aafaa7da55d413.tar.xz | |
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; |
