From patchwork Wed Apr 6 23:10:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8767081 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 0CEE5C0553 for ; Wed, 6 Apr 2016 23:11:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 192D4201BB for ; Wed, 6 Apr 2016 23:11:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EDA25201B9 for ; Wed, 6 Apr 2016 23:11:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754511AbcDFXLO (ORCPT ); Wed, 6 Apr 2016 19:11:14 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33996 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754405AbcDFXLM (ORCPT ); Wed, 6 Apr 2016 19:11:12 -0400 Received: by mail-pf0-f196.google.com with SMTP id d184so5489669pfc.1 for ; Wed, 06 Apr 2016 16:11:12 -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=JJNApj5dECVckQxmtCT92MVYhFOTyfwD6j9mQ201F6w=; b=xsyJAFZTjcWRUBJfZ6nH+ol29rtB5INnxP8cMOdeYegd3XO9gHsoTh20hizsz12sBt sLz7GtJ3xBEp6WUggcNLJQ/OwtAHIFaCYD9K3lqIJ+OFekdrHTQmfTSVWbS+Ft9y3oda 3yUYh/Y8SSP+K8PjbM6FHSDKQtXpnZFbkZn9ZweohvfjhkTowFQAUMS2Y9Pm7GCNTeqM Ynsw0697moYVt4/PiSZm9Kf6MM8NeQSVYrlcas0Z8vyhPS1kJ57vboigR57Ld4XW9wlI q5aNQLo+Sq8jT0Bf3z+eCS02E0tZwesOPTkZrCf8FA/AirnoBmnTk4p8R2bvwBM6nU2W EuOw== 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=JJNApj5dECVckQxmtCT92MVYhFOTyfwD6j9mQ201F6w=; b=IlMuKM0lPCKwy4wrqbXN8xEsTw9MBXz7Mp6QNC2s03OyyW5y3zKcfYCv15bhSsgCvT f3TAhH658DFfIcbbsb8V7xmJWMqBymsKS/ROSiceVMzRFO4mk8KDJkyo86cnMleoLL96 H8fT3q/4/2fb6Rha7zr3YbDx9DSDPoGTDABYZuIeMh2tqB4EI4v+zh8mLyUTUF4wCS7o m55MXI5KHKdJ0wEkq/mLUkm8F8RAiSTPDm9eQKFt+BCB8EsDFdE8twHnmz1sscMFL6H6 tBnkA3atG9DD/jefyvvEsVgeLHZziu63XpgVgSVOhQY6PwwejHtjviYsjmQtIFoylaAN Egfg== X-Gm-Message-State: AD7BkJJ+09rSSObFKzF1vi6bARy7QdeQgS+/683Mj2H8OtGNdtBA9FZ29P/KnH1eH3lZTQ== X-Received: by 10.98.11.205 with SMTP id 74mr42031167pfl.98.1459984271765; Wed, 06 Apr 2016 16:11:11 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id g6sm7282818pfg.15.2016.04.06.16.11.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Apr 2016 16:11:11 -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 3/7] staging: wilc1000: change data type of result in handle_set_wfi_drv_handler Date: Thu, 7 Apr 2016 08:10:39 +0900 Message-Id: <1459984243-4689-3-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.8.0 In-Reply-To: <1459984243-4689-1-git-send-email-chaehyun.lim@gmail.com> References: <1459984243-4689-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 ba472d5..33735fd 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -310,7 +310,7 @@ static void handle_set_channel(struct wilc_vif *vif, static void handle_set_wfi_drv_handler(struct wilc_vif *vif, struct drv_handler *hif_drv_handler) { - s32 result = 0; + int result = 0; struct wid wid; wid.id = (u16)WID_SET_DRV_HANDLER;