From patchwork Wed Apr 6 23:10:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8767061 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 E07169F3D1 for ; Wed, 6 Apr 2016 23:11:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14209201BB for ; Wed, 6 Apr 2016 23:11:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 43F8D201B9 for ; Wed, 6 Apr 2016 23:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754364AbcDFXLI (ORCPT ); Wed, 6 Apr 2016 19:11:08 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35478 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753489AbcDFXLH (ORCPT ); Wed, 6 Apr 2016 19:11:07 -0400 Received: by mail-pf0-f193.google.com with SMTP id r187so5523143pfr.2 for ; Wed, 06 Apr 2016 16:11:06 -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; bh=pBY2n3u2B5jw746uCB8bDAdN/RiEVkIJHlRFKPTWcNc=; b=INJY2nIMPyWGUQDKizN6lx8nSMGt1UdQYZ3jM9qGq2CvWtQc/LoDPGx3LffLyJbCPk OBk5nebfUtzTjkvEC3qB3v40wkWIBJs54Ae5i+htCkmic0Ovq7Tj8UMlNA8sr4SWuwV0 5yYvwu0RGJuYI1iJlTszQTgoDcRp5SS7rCgok+tNuyzWJ05WY0IugovE7qmuucL3xhNL /OshprmRZD1xfJlxzNwbUg24lOMWcJlVDKPB14lly/qOE5oOn2f3b7CwZ9zxyKkTyp6E AFp9I/ZehpLEzaunfRKnx2jLqK0aB29UuRZ6oBfrKDNozTDUOu7zR9XeDgia/ou5d4W9 kRtA== 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=pBY2n3u2B5jw746uCB8bDAdN/RiEVkIJHlRFKPTWcNc=; b=cX5eAX+FXwh4pAM/AcSY8SGxKMhYJBZPygqp9zxmRehCAumrvtYD4W6q/xNH6afPTt L2z8g0bFYBJWh315+vJP9u1+GZy5SZQpPdhj/Kpci10ht3FS7OLGUwlJBT5uEA/bvI+Y 3tj30KXdP7LYEvCYxB5qxRC0DK9sAV7lq+V9fbf4SB2L4ug9Ap5Jo2k3IpZfu08LOeaO kZY0z84s5pYqeJzxfGTSzsro8n/AT71/TvUSeGXU7OnZd+IPSuXrQ7CMDQUfR8iJkn4y 0JCKgoFgr/U61o6nBeKB+LRjDFOf41kiZYx798FZXB4+tkz5BOH+CeFlbo7bicrimpjX o+Vw== X-Gm-Message-State: AD7BkJJFtnpkEdMWD9xLJb6mGcz3NRHO4o4qa22uJ3NIgyhNkUxpdKWEtcq7gB+uB5+N3A== X-Received: by 10.98.7.24 with SMTP id b24mr43840662pfd.125.1459984265547; Wed, 06 Apr 2016 16:11:05 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id g6sm7282818pfg.15.2016.04.06.16.11.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Apr 2016 16:11:04 -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 1/7] staging: wilc1000: change return type of ret variable in handle_get_tx_pwr Date: Thu, 7 Apr 2016 08:10:37 +0900 Message-Id: <1459984243-4689-1-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.8.0 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 return type of ret variable from s32 to int. ret has 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 eb86fd4..09e4ca3 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -2468,7 +2468,7 @@ static void handle_set_tx_pwr(struct wilc_vif *vif, u8 tx_pwr) static void handle_get_tx_pwr(struct wilc_vif *vif, u8 *tx_pwr) { - s32 ret = 0; + int ret = 0; struct wid wid; wid.id = (u16)WID_TX_POWER;