From patchwork Tue Dec 22 00:48:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 7899661 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 8BEA19F318 for ; Tue, 22 Dec 2015 00:49:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4F01205BE for ; Tue, 22 Dec 2015 00:49:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D0A42205BD for ; Tue, 22 Dec 2015 00:49:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799AbbLVAtR (ORCPT ); Mon, 21 Dec 2015 19:49:17 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:35858 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530AbbLVAtQ (ORCPT ); Mon, 21 Dec 2015 19:49:16 -0500 Received: by mail-pa0-f52.google.com with SMTP id q3so87128436pav.3 for ; Mon, 21 Dec 2015 16:49: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; bh=NbX0BF6YI9Gms1R7drN2tGf2KL44GgLfUMSdiI8muxM=; b=nj6T4L5A9P0VeI46XH6MjxMnTYSSLYWZPTXKtAFXoLOyM/UQLKF+AuacyTeVyxuRNH daZtBpW7/TZ/EvUtpmEqKF9q4y+iOJ1IeybYCRmm1VnSUUvF0Z8uBtOekqVAwNJBE2ce wGdFYMIsnk2ze7LfxHXHIj1eAzgOh3yks6d9h3K+gbGXtffaQH76vWN9g6ViBS4oNqb4 IUDsSLE1F1P7un9nKbOBIy08bapaG05egu6R+wIHPengBvRtzFEjFg984gYjQ5PUxnw5 pWd/kuEn/4EvOht0KFKVgRnCd60qmq/XNGVXDsbMmVjU6xfjssXXfcFDq6Ii+io+t+k+ parA== X-Received: by 10.66.197.131 with SMTP id iu3mr10909198pac.57.1450745356467; Mon, 21 Dec 2015 16:49:16 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id sv8sm41742573pab.13.2015.12.21.16.49.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Dec 2015 16:49: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 01/13] staging: wilc1000: fix return type of wilc_add_pkt declaration Date: Tue, 22 Dec 2015 09:48:57 +0900 Message-Id: <1450745349-16811-1-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.6.4 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.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 wilc_add_pkt declaration from s32 to int. The return type of this function declaration and definition should be same as data type of int. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 8faac27..be1536a 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -312,7 +312,7 @@ int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len, u8 index); int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len, u8 index, u8 mode, enum AUTHTYPE auth_type); -s32 wilc_add_ptk(struct wilc_vif *vif, const u8 *pu8Ptk, u8 u8PtkKeylen, +int wilc_add_ptk(struct wilc_vif *vif, const u8 *pu8Ptk, u8 u8PtkKeylen, const u8 *mac_addr, const u8 *pu8RxMic, const u8 *pu8TxMic, u8 mode, u8 u8Ciphermode, u8 u8Idx); s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac,