Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1179744
| From | Johannes Postma <jgmpostma@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Staging: ozwpan: ozusbsvc1.c: Fix missing blank line after declarations |
| Date | 2015-07-08 14:50 +0200 |
| Message-ID | <pJWXv-2KA-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This patch fixes a missing line after declarations issue. Signed-off-by: Johannes Postma <jgmpostma@gmail.com> --- drivers/staging/ozwpan/ozusbsvc1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ozwpan/ozusbsvc1.c b/drivers/staging/ozwpan/ozusbsvc1.c index 301fee8..b6cfecb 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; -- 2.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] Staging: ozwpan: ozusbsvc1.c: Fix missing blank line after declarations Johannes Postma <jgmpostma@gmail.com> - 2015-07-08 14:50 +0200
csiph-web