From patchwork Wed Mar 14 12:44:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hariprasath.elango@gmail.com X-Patchwork-Id: 10282079 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C96B3601E9 for ; Wed, 14 Mar 2018 12:47:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC5B4288BC for ; Wed, 14 Mar 2018 12:47:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B13C3288D9; Wed, 14 Mar 2018 12:47:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9A92288BC for ; Wed, 14 Mar 2018 12:47:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751975AbeCNMpZ (ORCPT ); Wed, 14 Mar 2018 08:45:25 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:37958 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbeCNMpW (ORCPT ); Wed, 14 Mar 2018 08:45:22 -0400 Received: by mail-pf0-f196.google.com with SMTP id d26so1329003pfn.5; Wed, 14 Mar 2018 05:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=4vBX0BG5wW/Cwd2KgB0Dyh2uTxw3snq25aPuZBxjKgQ=; b=S+sz/mc5dGkY+CAq+NqrNrOyyXsMlZeCou+0ypB1d0BOc7xJMqdgM6RuNz1aNB6H+a Oe1MZSOwGCY+zu23dkGPqaMs5ervkqhzj416jEd+Hph4HBxxEDwgDzw2QzC93t6DqqJ/ Oxd+IB4mvJk1+ZAakyo6L9WiWRna9xRzECgCFiAJe6y2/dLQrGDhK8OiNnrctgNKcT+p tgo+D9mhoSG/DWB3yRqDyECB1IApBLU8hLSPwWp9y3d/Q1EzO+f11I+Emx5hdRX0MDx9 dtFQYgY7KY4wuxSdlH2VbQtPvAlqcaShwp3AQjtrhRVCfvQCGv8cX+rWtKMwz+W5nZFz io1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=4vBX0BG5wW/Cwd2KgB0Dyh2uTxw3snq25aPuZBxjKgQ=; b=Dj4SUZ1KWBpzmIRqOU6UQdPESWvuGyVqTrsSaaDqZ60qICx+2xM3aWMqM8FMqq7D6L pO1Q1wXEL0GUO+OFBAALxGmCp79ekGj/yijF6i1Lj/FHmSKaYnUu4vs5kh0y9rFa/l0x /cyI99Mo+Vm3NAD1Gxc6A8yK49cLcTs82ZnFFjrqaVbYQaulDa5mO/2I4EOY/BbsyBJ0 24uBam0i3VMpf1ekqyxObWWt+nck3kuYN6bEgaKWNKVGWtze+flwX3P/yeT7H/TRpJL0 20pBhDtjSAN8Yjf4yWinEL6MeSNsolE+XT82noubeX0Sdq8aT3MijuP/dnLScgDG8SXM Ui8w== X-Gm-Message-State: AElRT7GKCxHzdU9bqYV97l8qvhgLV5yfK01sVtx1cHwocG7qs7cHIyrS Y0d3Ga98WC4h/nbwFHdMwcQ= X-Google-Smtp-Source: AG47ELtf8dmgwVZIaj9eY7cQ0fBCgPucqSt/I58caJvR0OSzchvJU9v7AuoXBJIFg6i/5n3NLxF1IQ== X-Received: by 10.99.164.25 with SMTP id c25mr3628349pgf.235.1521031522095; Wed, 14 Mar 2018 05:45:22 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7142:9212:3d49:8166:4647:f07f]) by smtp.gmail.com with ESMTPSA id y14sm3999982pff.81.2018.03.14.05.45.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 05:45:21 -0700 (PDT) From: hariprasath.elango@gmail.com To: aditya.shankar@microchip.com, gregkh@linuxfoundation.org, ganesh.krishna@microchip.com Cc: hariprasath.elango@gmail.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] staging: wilc1000: Fix code block alignment Date: Wed, 14 Mar 2018 18:14:59 +0530 Message-Id: <064c29efeaa5076d2ed441406cdd8eedcf7c01ec.1521030891.git.hariprasath.elango@gmail.com> X-Mailer: git-send-email 2.10.0.GIT In-Reply-To: References: In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: HariPrasath Elango Fix the code alignment for a block of code to adhere to coding guidelines Signed-off-by: HariPrasath Elango Reviewed-by: Ajay Singh --- drivers/staging/wilc1000/linux_wlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index fe19bf3..1af3c14 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -861,10 +861,10 @@ static int wilc_mac_open(struct net_device *ndev) break; } } - wilc_get_mac_address(vif, mac_add); - netdev_dbg(ndev, "Mac address: %pM\n", mac_add); - memcpy(wl->vif[i]->src_addr, mac_add, ETH_ALEN); + wilc_get_mac_address(vif, mac_add); + netdev_dbg(ndev, "Mac address: %pM\n", mac_add); + memcpy(wl->vif[i]->src_addr, mac_add, ETH_ALEN); memcpy(ndev->dev_addr, wl->vif[i]->src_addr, ETH_ALEN); if (!is_valid_ether_addr(ndev->dev_addr)) {