From patchwork Tue Feb 16 08:39:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8322701 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 64759C02AA for ; Tue, 16 Feb 2016 08:40:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C592202D1 for ; Tue, 16 Feb 2016 08:40:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C9AEB202A1 for ; Tue, 16 Feb 2016 08:40:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754456AbcBPIkS (ORCPT ); Tue, 16 Feb 2016 03:40:18 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:36099 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752598AbcBPIkQ (ORCPT ); Tue, 16 Feb 2016 03:40:16 -0500 Received: by mail-pf0-f179.google.com with SMTP id e127so101534677pfe.3 for ; Tue, 16 Feb 2016 00:40:16 -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=2T0D7v0aglxokGT9oGr/w94VsxmB8Z5Ajr9rNq11uvw=; b=UFBajmB0p+ey/4sFtK6bA/HVCB2qOyJMWS0t2J343nKtMF/uPyvoo9Uy0iPz4cKpwH VUPiXkPZvHuJFQwkacyY5n3Tb6lz+hmxKih0Or/+11xqDr1bLoe43o/4wzJMVMmXmJTP 0tdyYhF7sTF/gOVDPJRBjPPtDVndKl2g0963lDs3sneNDYUiru8z2OPzghFUL3+IQ94m N7S0QZFgxydG88Ub4a3nbXI+sHKX/dbrY8QJ35tE8quKWOwEoqtBbNkgVxLujxahIXOF x03bOys3XIY19bvhCTy4cCvGZlcJ0ivqiiuK7oEvdA/KDq+iAGgMk9iuxhMRNoAqYp93 5L3w== 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=2T0D7v0aglxokGT9oGr/w94VsxmB8Z5Ajr9rNq11uvw=; b=cK7jzrmGmXiXRXeawCDsz9cPn7almp/s59GoDGAvHID5iRA2iXM//NWlwgIZOy14ya Ez2GY2+AG6x271jkQlWXWLuPRwaggPb/vF+3ca9LydDU2yV/HSKoOad3DvVFFB9e0QLe TLMTvx+IGf9o47cW12ymSOLbpFeIPwj2bH5yeE1/sOCFCnnk5B6tGr/HaRJW1ph2FuqJ B+3eLF79Z1SmjJNjwaZA323fdJVf/sxdA4LIvG+N+DvEjWmYJxnc14D8I5puwJHBmqFr Tow1HFn+0e+U52HAVuKiDKJLFRmos5jLck5TA7NiUWMqxjEtLXD5JBblkmTEldkfw+pp 9M8A== X-Gm-Message-State: AG10YOSi4OZdND+DbIv5h9UIfHJzx6fbRhBa0VAVOQvjdPg6UoMU9DbKRcroQvplwxh+Sw== X-Received: by 10.98.75.200 with SMTP id d69mr29949035pfj.108.1455612016143; Tue, 16 Feb 2016 00:40:16 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id s197sm43783511pfs.62.2016.02.16.00.40.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Feb 2016 00:40:15 -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 5/7] staging: wilc1000: handle_set_mac_address: change data type of result Date: Tue, 16 Feb 2016 17:39:53 +0900 Message-Id: <1455611995-28773-5-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1455611995-28773-1-git-send-email-chaehyun.lim@gmail.com> References: <1455611995-28773-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=-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 result variable gets value from wilc_send_config_pkt that has return value of int. This patch changes data type of result variable to int. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c671f05..90321a3 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -427,7 +427,7 @@ static s32 handle_get_ip_address(struct wilc_vif *vif, u8 idx) static void handle_set_mac_address(struct wilc_vif *vif, struct set_mac_addr *set_mac_addr) { - s32 result = 0; + int result = 0; struct wid wid; u8 *mac_buf = kmemdup(set_mac_addr->mac_addr, ETH_ALEN, GFP_KERNEL);