From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932761AbbGHMmP (ORCPT ); Wed, 8 Jul 2015 08:42:15 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:34393 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932710AbbGHMmL (ORCPT ); Wed, 8 Jul 2015 08:42:11 -0400 From: Johannes Postma To: shigekatsu.tateno@atmel.com, gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Johannes Postma Subject: [PATCH] Staging: ozwpan: ozusbsvc1.c: Fix missing blank line after declarations Date: Wed, 8 Jul 2015 13:41:46 +0100 Message-Id: <1436359306-1621-1-git-send-email-jgmpostma@gmail.com> X-Mailer: git-send-email 2.4.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes a missing line after declarations issue. Signed-off-by: Johannes Postma --- 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