From patchwork Mon May 2 10:47:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8990931 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 375C89F39D for ; Mon, 2 May 2016 10:48:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 69F8F201FA for ; Mon, 2 May 2016 10:48:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 81A26200E1 for ; Mon, 2 May 2016 10:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753531AbcEBKsO (ORCPT ); Mon, 2 May 2016 06:48:14 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:32827 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753456AbcEBKsL (ORCPT ); Mon, 2 May 2016 06:48:11 -0400 Received: by mail-pf0-f193.google.com with SMTP id e190so20540037pfe.0 for ; Mon, 02 May 2016 03:48:11 -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=vClqF5EMTxyh5NShdRWaNW95pcz+imKxrUX7d7GlhIw=; b=tYgui3SUjpCR6SBt8p1RNLpPNochF4sy4Lb7z56lQZCZAoycHiAy/JkIciM+7pBTE3 3GvbpbJnB+8xldC95Gx1odECbovkCzucKJ7H7c/YmSG8uyTcvndQ5MeTDnJ0uClNsOJm jbSz9RwEOULZD3LSjvM9vkj9k82YbywxEZewX1aCtSif49lKKnj2SqRV2cgRduEp3O1t t3snoBJyEXu7zcWkjmXYUz9ikWbamk79gOy5Y7ZA+2/jItnOvXF9ZSE7Kc0ofcRzx1nN +BvHf+4DJxdwXPOaTyokorZD1bs6mkbtcRqGznbamXKsYkfI3QSRxjT6l1Wd31HuG+Si 9x5Q== 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=vClqF5EMTxyh5NShdRWaNW95pcz+imKxrUX7d7GlhIw=; b=Awqz/t/nE1moffyq+P4JGJ/2Jjn6j5AxAk1DiRZmW56q0xU3OBdfjCPt9Fd588xhmv oIsCgfSbOYvsODe8/SkVeUzYwyUdGn8J1VoShBoH7g6mrdatp5BkC7C09waX/GOpwm2H I0fcOlS7hwiYlN0U4oVBS6cDJ1erN79eNVC/h2CPUfYJeEKbZFjfPCrjzTbpnhxD+H3K 2k3HLNy/KyOUcqs5QHK9ThH/mq6q1av71nFalKsGAT8HcHw9hl5B3ytD1pjl3e9RkXIb PizF/WVQCgbtVFPUkLOBa4V9iTu7MqKGspFBFPltGZVK0fOLUZ1/T51Lq/svkVebigF/ 2grg== X-Gm-Message-State: AOPr4FUyJSB/4K5vMWhQN/IXP11c8tf4RlJ+2y6Aidypbd5dkumJpndb4DE9G3+IZNFMug== X-Received: by 10.98.90.7 with SMTP id o7mr33035372pfb.110.1462186091121; Mon, 02 May 2016 03:48:11 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id fn3sm44570688pab.20.2016.05.02.03.48.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 May 2016 03:48:10 -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/7] staging: wilc1000: change data type of result in handle_get_ip_address Date: Mon, 2 May 2016 19:47:50 +0900 Message-Id: <1462186075-8549-2-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1462186075-8549-1-git-send-email-chaehyun.lim@gmail.com> References: <1462186075-8549-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 ce1cd68..acefd3b 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -376,7 +376,7 @@ static void handle_set_ip_address(struct wilc_vif *vif, u8 *ip_addr, u8 idx) static void handle_get_ip_address(struct wilc_vif *vif, u8 idx) { - s32 result = 0; + int result = 0; struct wid wid; wid.id = (u16)WID_IP_ADDRESS;