From patchwork Fri Feb 12 14:04:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8292011 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 BDABEBEEE5 for ; Fri, 12 Feb 2016 14:05:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F0275203F3 for ; Fri, 12 Feb 2016 14:05:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C978220397 for ; Fri, 12 Feb 2016 14:05:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752952AbcBLOFY (ORCPT ); Fri, 12 Feb 2016 09:05:24 -0500 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34391 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752901AbcBLOFQ (ORCPT ); Fri, 12 Feb 2016 09:05:16 -0500 Received: by mail-pa0-f67.google.com with SMTP id yy13so3868122pab.1 for ; Fri, 12 Feb 2016 06:05: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=afp0TcsgsJ7yFTXME+0+Iz8QrAjuzKfzAHLixPa8j3g=; b=rJr2A+kx71EJfTaFmTcCFzpq6f4+eLgulAdyjRMGv7BHiA/z8vucwOSdqxx/nO77Fo gwXsbhmhdpajXe7rF7Xy0Ph3EU8myIDOX/ft+wrdOuJsUaDiMlIHEFCxgHOc705hHbG4 x25SYtCjXOkX+MHRwLNIqzcDQcHCiMwwhQl4SYKAdXc7n8RTrnumk2Jy1VF3KZqupaXZ HcMt5a1giRodCUP5gpKfpuQSW4uXfoFdkdLkmYdLt2/dyP3h02b/tvnsqujC5bwWkBWT GSxhzoqEEUTfCb5HjFnWMuYLsvHJ9ogw4xSBhU7jsRIpp8pz3pmZovr8TmqFNlX4NXbG zDhw== 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=afp0TcsgsJ7yFTXME+0+Iz8QrAjuzKfzAHLixPa8j3g=; b=Wnrw8eXJsnbXDEzFGfvjkqwuqCm5lrUhufixsbMRj7SETYjr8M7evNYorcGXXNuRu7 Vt9Cql/ORF0afZyJn9TbopngwR4TmF0C0ey95vv0vnQdoOEoZZtaImS2GFfdYYr81+8y AdCRWfIgFI1A1Lhqt/qAHJLE/ud6xfUvnMof4ElUSbcLEe7Zmntj1MpetGsuKIDOJs34 Q/yh+oa7J1t5RM1xN0tGswHTyHpO7fdrrU2LbD0LmKVvP5Oe9fkhYfbFoLLTPL1u171z e761tPReyBGWaxHjHqvzrpGDEfOSaSWw1sM6y3aGEZvOLUQaR8nCVUJxJOG8Y8OYL04M RoMQ== X-Gm-Message-State: AG10YOSgwLIckO+Fp5ZqH+IGAMrIspA2mFUhfJI8cyCdzfc4P+wJ+VIb70EQfvV5MqRQwA== X-Received: by 10.66.145.105 with SMTP id st9mr2414792pab.32.1455285916298; Fri, 12 Feb 2016 06:05:16 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id u64sm19814147pfa.86.2016.02.12.06.05.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:05: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 09/11] staging: wilc1000: change data type of result variable to int. Date: Fri, 12 Feb 2016 23:04:45 +0900 Message-Id: <1455285887-29946-9-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1455285887-29946-1-git-send-email-chaehyun.lim@gmail.com> References: <1455285887-29946-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.9 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 eecd697..0f7a36c 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -302,7 +302,7 @@ static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx) static void handle_set_channel(struct wilc_vif *vif, struct channel_attr *hif_set_ch) { - s32 result = 0; + int result = 0; struct wid wid; wid.id = (u16)WID_CURRENT_CHANNEL;