From patchwork Tue Apr 19 00:35:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8876191 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 A6FB99F441 for ; Tue, 19 Apr 2016 00:35:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D254320211 for ; Tue, 19 Apr 2016 00:35:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 30E0120221 for ; Tue, 19 Apr 2016 00:35:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751571AbcDSAfo (ORCPT ); Mon, 18 Apr 2016 20:35:44 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36401 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091AbcDSAfn (ORCPT ); Mon, 18 Apr 2016 20:35:43 -0400 Received: by mail-pf0-f195.google.com with SMTP id p185so95608pfb.3 for ; Mon, 18 Apr 2016 17:35:43 -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=QhcdW7KYeVHsbuSRrceqlt5x9x/Ge4P04KLNLq+16aA=; b=0c7NWucY4DncJTAety/KWLpBYnnw3iLIFP6tWjiI4CRkY7EiccTxBS9AGyC9HRMW1H L0xzq11zGKdWPwQLYNZs0T3Iz08ghGRD5B7TStRIpESCyLsbXEC960ccsLm/4Nj3g0IG aIxAL4ai17wTT6AhRLd9fGrJFy9nDeOg1DWOTdOBoWPdD/vwP7cGIXT/GNVDuODp72m9 DW6xw6KMauBZyJ+9ToiqGZm0n3Gw62VyQ1Idetn+0OccQbhuAy7NaYJs0paKXXJrLlkf W0YpS9LctZ/QzHkAFMtWe76Scsl2HidZrwABasuSjhcoyV5xjkW2Dzn67vnSbw4/jvwc XA4w== 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=QhcdW7KYeVHsbuSRrceqlt5x9x/Ge4P04KLNLq+16aA=; b=l/GEMRVOxdY//9zKZ3wXktAE7FxlhfpMPkwMaVxUzIHAZIVy6z4fXFGtW20q67PRDI xb89LytxhBLxEsaoHBLWtp5G2NlJHTk0HVODSBLGn0o0ZoNQszb0oJpzticHYrqZez0R CsxKM1ZzcC9c0z8U0hC05yzj/4tJR2IlzuZpVFtlCVhHFHZNDa1WUg8rE/rga94Y/H8/ CGNxZIq69w62h4fHZ+8FNwopu5JcetYMVLocdjbQNk5vcb4i4nNPUwRM2NaXYS6TbGlD +drNaiY1kw+daDXgrzzu9O3CIM6164ZduheT0Blppvp2AckjlNorDqTk2jHrBJVBdInZ mg0g== X-Gm-Message-State: AOPr4FVacH+ltyVn0neGCG9Udagij6sMF1sqZODVhFKHeAWA7Fsi3avkj672A9QXdMGgrA== X-Received: by 10.98.27.208 with SMTP id b199mr63792pfb.49.1461026143117; Mon, 18 Apr 2016 17:35:43 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id i67sm21246905pfb.56.2016.04.18.17.35.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Apr 2016 17:35:42 -0700 (PDT) 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 2/3] staging: wilc1000: change data type of result in handle_set_ip_address Date: Tue, 19 Apr 2016 09:35:30 +0900 Message-Id: <1461026131-5841-2-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.8.0 In-Reply-To: <1461026131-5841-1-git-send-email-chaehyun.lim@gmail.com> References: <1461026131-5841-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=-7.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 This patch changes data type of result variable from s32 to int. result is used to get return value from wilc_send_config_pkt that has return type of 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 87c8789..9ddb238 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -351,7 +351,7 @@ static void handle_set_operation_mode(struct wilc_vif *vif, static void handle_set_ip_address(struct wilc_vif *vif, u8 *ip_addr, u8 idx) { - s32 result = 0; + int result = 0; struct wid wid; char firmware_ip_addr[4] = {0};