From patchwork Tue Feb 23 06:37:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8387691 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 A769C9F52D for ; Tue, 23 Feb 2016 06:38:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CAA3920546 for ; Tue, 23 Feb 2016 06:38:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00A2B2052A for ; Tue, 23 Feb 2016 06:38:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756977AbcBWGiN (ORCPT ); Tue, 23 Feb 2016 01:38:13 -0500 Received: from mail-pf0-f170.google.com ([209.85.192.170]:36484 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750704AbcBWGiM (ORCPT ); Tue, 23 Feb 2016 01:38:12 -0500 Received: by mail-pf0-f170.google.com with SMTP id e127so107000385pfe.3 for ; Mon, 22 Feb 2016 22:38:11 -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; bh=OdcWwtbIatgST5hnFbaFWgpBZRrWyz+0zxDeEB6yMGQ=; b=civjHc/bHB4Rq+uFYPN6S2x4EgUyfBs9EsWxQ3zy0j9I0/sMxbY3ZYc2C/OaBRG1of M1C2LJsyz3ZOlEV9nFcfR4kTfOBAMwxjoSZP00+AhQKHgaS/pJVKt0whnYsVUWYnvOXa TzBpK/kVPWqezOvA3ZvGQqXPiDa6CqMrnifw5qwOUyA5+RoohV1grJvLM5qDBqFVtNGG QTzd96WK1hvn05CzdkqPevTmzHa7BnlTYLxwzIRyXgNtzGmOeSqSBoCWn0DhjmyIW1Ag 5XWqpcwNuo8Aiz65X/MsE6sqzRO8oaDrIV0M/sIlcIPaT1+GHjVYCpuCZn6Y9tr9Aukt zs1w== 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; bh=OdcWwtbIatgST5hnFbaFWgpBZRrWyz+0zxDeEB6yMGQ=; b=BqzgQf+vgbc4DZ5R8RR7jkJn1s5Mwp/Xc7wYqOOKpGH0YByuA3uYkCekfmMaBa09N9 UAUa3W28c6rMlVEwdlAVmdzTre3WLPQP2TB9Pbdz1vT23TS1D1Zg+cmeVHkhGblihVXX /hSDFkayNP43TWiFCVs+bDYq3QoJxMMEr4hpnzyVaTugBIWE3z5dfArZwFmoBJztEhea pPOjq4lleVSPOopJFOXQPV7zYzDGbzaE8y+6THt2p8x2HI0LibM3qs7goltueEysAhiE Y1eRjioMdg7ZFnFbQmhsi6iVMnwVm85M4kqDvVAfuRB/B1yeOWOmVsEkVIfCJJD4hiiK HXQA== X-Gm-Message-State: AG10YOQh5wnweL1KaX5Kv97ad4L5K074VVc0QwW6Y30afyYKMjhiY0ID+DXDxaxy7vN2LQ== X-Received: by 10.98.14.79 with SMTP id w76mr43758417pfi.1.1456209491702; Mon, 22 Feb 2016 22:38:11 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id r68sm41187788pfb.51.2016.02.22.22.38.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Feb 2016 22:38:10 -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 1/7] staging: wilc1000: handle_set_mac_address: fix missing blank line after declaration Date: Tue, 23 Feb 2016 15:37:57 +0900 Message-Id: <1456209483-20345-1-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 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 commit 31cc9885e7c7 ("staging: wilc1000: handle_set_mac_address: use kmemdup") introduces a new checkpatch warning, so this patch fixes it. WARNING: Missing a blank line after declarations FILE: drivers/staging/wilc1000/host_interface.c:430: Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 0c09df4..e442d81 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -429,8 +429,9 @@ static void handle_set_mac_address(struct wilc_vif *vif, { int ret = 0; struct wid wid; + u8 *mac_buf; - u8 *mac_buf = kmemdup(set_mac_addr->mac_addr, ETH_ALEN, GFP_KERNEL); + mac_buf = kmemdup(set_mac_addr->mac_addr, ETH_ALEN, GFP_KERNEL); if (!mac_buf) return;