From patchwork Mon Feb 1 12:26:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8178651 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 891E2BEEED for ; Mon, 1 Feb 2016 12:27:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A83AC203E9 for ; Mon, 1 Feb 2016 12:27:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D63DA203E5 for ; Mon, 1 Feb 2016 12:27:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932204AbcBAM1Y (ORCPT ); Mon, 1 Feb 2016 07:27:24 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36359 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932143AbcBAM1W (ORCPT ); Mon, 1 Feb 2016 07:27:22 -0500 Received: by mail-pf0-f195.google.com with SMTP id n128so7472620pfn.3 for ; Mon, 01 Feb 2016 04:27:22 -0800 (PST) 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=FkKakb9WrV8wxFb9WME7nSOn5RuzuiAA3Og9n1gUJHA=; b=FfZ6GxK7ksxxtLh949m93u3tOldKxrjbrIgieWXIjWfBm/wSGxXMAznmnBzSQl34um 4LSMpHYKs/7Hi1ejYfviBkb/1GaBE9suuOV+TJCHUQbsv3C+9aYl2aE1CJBa/FXmME2d 1tDH7Y72XUAmD4bQQpGKAAfQa5OBRBj7Kva0Fp7Z7jWOcXYkbvm4/6OcguOQfKYQP+SG 8j1Y4b5h30IFC5BOjkpw6XaDr7q2YGA6mVckr1fyx1zdA0tyGk4BVxVoxl7b3zbXOFpp pK9CAx35v9bSQAl3q4a/Lb+yXRUQHrASW5pxgl5WngGM11QsZkk8MY+pzLNpyepg+Svc tnSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FkKakb9WrV8wxFb9WME7nSOn5RuzuiAA3Og9n1gUJHA=; b=UElDKXXaxL1v1JUtv6wigf0wZs5eMWY1TJsL2E/2whgW5Y59WlAaSr1dkLphTzTqhG edQHB8WlDWhJYuj601KAEnwvtEqpn1YUlPy+KNje+7qFJ93d38aBVkTHrfir++2tdlHU im+crujXz0A9NXxB4pjsD9n+eY2scEv0q6JBh3TCoBihFdSZ7qgjCo37Lv5ivLbBKPEq mCZx5MvMinLMeUzQBvQYtNWYyqoEGiCeMVmafAHYyTOiMgd5FSR4FmD4DqTkazHzBPAM avzQI4FyfdauoZ8etD2Za3aH/jfjpuKnc8KSojCV2PhBlNUxgfp+StJ6xbC9ti9zLWQ2 p/Ig== X-Gm-Message-State: AG10YOSU7IeuAxnbN5aAoSMvYT0xtgykbcYlxu7zfVXe8Mu2TAzbuJxn+xeMryaOYRc7vQ== X-Received: by 10.98.13.77 with SMTP id v74mr37865397pfi.162.1454329642216; Mon, 01 Feb 2016 04:27:22 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id y86sm42992851pfa.26.2016.02.01.04.27.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Feb 2016 04:27:21 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 08/11] staging: wilc1000: linux_mon: add braces on all arms of if statement Date: Mon, 1 Feb 2016 21:26:44 +0900 Message-Id: <1454329607-9486-8-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454329607-9486-1-git-send-email-chaehyun.lim@gmail.com> References: <1454329607-9486-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=-5.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_BRBL_LASTEXT,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 This patch adds braces on all arms of if statement found by checkpatch.pl CHECK: braces {} should be used on all arms of this statement Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/linux_mon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 53d0caf..255383c 100644 --- a/drivers/staging/wilc1000/linux_mon.c +++ b/drivers/staging/wilc1000/linux_mon.c @@ -278,8 +278,9 @@ static netdev_tx_t WILC_WFI_mon_xmit(struct sk_buff *skb, if (!(memcmp(srcAdd, bssid, 6))) { mon_mgmt_tx(mon_priv->real_ndev, skb->data, skb->len); dev_kfree_skb(skb); - } else + } else { ret = wilc_mac_xmit(skb, mon_priv->real_ndev); + } return ret; }