From patchwork Mon Jun 22 04:08:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6653101 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 10A339F46A for ; Mon, 22 Jun 2015 04:08:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 70E57205C4 for ; Mon, 22 Jun 2015 04:08:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB3D5205D3 for ; Mon, 22 Jun 2015 04:08:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498AbbFVEIl (ORCPT ); Mon, 22 Jun 2015 00:08:41 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:35254 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201AbbFVEIj (ORCPT ); Mon, 22 Jun 2015 00:08:39 -0400 Received: by pdbci14 with SMTP id ci14so71268095pdb.2 for ; Sun, 21 Jun 2015 21:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rpXQu2tBc6W1FoXojw56BU6/K5pGt5KQDQ6uKN34kO0=; b=bjLBzAZGb7VQAw0GlPxQxMmyD8KdUHSLg2w1MOcsZC7yyVdGPVi/1UhEHv0PbytAcG PzUmzpTzL9zcEKFHWWrOyi8Pfh/VW3Cwvw9PvvUf+1k7p+Zkan/yVwq21kf5ai5oS1Hn STRzokh1FK3Gk1OZyjQi0/H/Sgo3Lm1nJGYsZRsQh1x6DnSy/daokaXM9NoO8L+6W/bx 3olCE5qUlTG/eyJGLh9pP7pQo28VV03XqVy2CL8o8zgnix6ejbfnedE85XQAoZXoQ0WU ahUtU+SqzbzJnqKKD+km3g0VMUxzIQ/+F/Fw244FkzGN4+ys9aPTZIe+qkwMElsZJyi3 46ew== X-Received: by 10.68.69.15 with SMTP id a15mr54420812pbu.106.1434946118825; Sun, 21 Jun 2015 21:08:38 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by mx.google.com with ESMTPSA id om10sm18074140pbb.58.2015.06.21.21.08.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Jun 2015 21:08:38 -0700 (PDT) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, rachel.kim@atmel.com, dean.lee@atmel.com, chris.park@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 4/5] staging: wilc1000: wilc_wfi_netdevice.c: Insert blank line after declarations Date: Mon, 22 Jun 2015 13:08:14 +0900 Message-Id: <1434946095-26157-4-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434946095-26157-1-git-send-email-chaehyun.lim@gmail.com> References: <1434946095-26157-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix checkpatch warning found by checkpatch.pl WARNING: Missing a blank line after declarations Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wfi_netdevice.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c b/drivers/staging/wilc1000/wilc_wfi_netdevice.c index 039e21f..31a796b 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c @@ -207,6 +207,7 @@ struct WILC_WFI_packet *WILC_WFI_DequeueBuf(struct net_device *dev) static void WILC_WFI_RxInts(struct net_device *dev, int enable) { struct WILC_WFI_priv *priv = netdev_priv(dev); + priv->rx_int_enabled = enable; } @@ -522,6 +523,7 @@ void WILC_WFI_HwTx(char *buf, int len, struct net_device *dev) if (0) { /* enable this conditional to look at the data */ int i; + PRINT_D(RX_DBG, "len is %i", len); for (i = 14; i < len; i++) PRINT_D(RX_DBG, "TXdata[%d] %02x\n", i, buf[i] & 0xff); @@ -677,6 +679,7 @@ int WILC_WFI_Ioctl(struct net_device *dev, struct ifreq *rq, int cmd) struct net_device_stats *WILC_WFI_Stats(struct net_device *dev) { struct WILC_WFI_priv *priv = netdev_priv(dev); + return &priv->stats; }