From patchwork Mon May 19 22:02:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 4206761 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 742839F1CD for ; Mon, 19 May 2014 22:02:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A623820251 for ; Mon, 19 May 2014 22:02:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D4A35201F4 for ; Mon, 19 May 2014 22:02:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751427AbaESWC2 (ORCPT ); Mon, 19 May 2014 18:02:28 -0400 Received: from mout.gmx.net ([212.227.15.19]:64759 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751077AbaESWC1 (ORCPT ); Mon, 19 May 2014 18:02:27 -0400 Received: from ultralex.lan ([93.218.107.153]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M3MAG-1X4B2t2G2K-00qyPP; Tue, 20 May 2014 00:02:23 +0200 From: Oleksij Rempel To: linux-wireless@vger.kernel.org, linville@tuxdriver.com Cc: Oleksij Rempel Subject: [PATCH] ath9k_htc: fix build with disabled debug Date: Tue, 20 May 2014 00:02:03 +0200 Message-Id: <1400536923-14597-1-git-send-email-linux@rempel-privat.de> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Provags-ID: V03:K0:LwCDMbT4k51M3WHM6sdokT56hIxmVW4TWhQIFtgTl+PCNIV1HGA WruIw2+H+f3itV7zSg0+HzmyWH99M9fe6PSfHSwwGBcinBQztP8OYaLvb5GEQcKdz1EoZqF kQBUpkWvhqtC2caqDlgU3vVimvCCMBxu4r/Y/cIQ0sbuUAyhlqyEh4QiIeRiM4qq2RyZCpC W5YrI6dfKus83FOHVFFjA== 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 CC [M] drivers/net/wireless/ath/ath9k/htc_drv_txrx.o drivers/net/wireless/ath/ath9k/htc_drv_txrx.c: In function ‘ath9k_rx_prepare’: drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1006:2: warning: passing argument 2 of ‘ath9k_htc_err_stat_rx’ from incompatible pointer type [enabled by default] ath9k_htc_err_stat_rx(priv, &rx_stats); ^ In file included from drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:17:0: drivers/net/wireless/ath/ath9k/htc.h:380:20: note: expected ‘struct ath_htc_rx_status *’ but argument is of type ‘struct ath_rx_status *’ static inline void ath9k_htc_err_stat_rx(struct ath9k_htc_priv *priv, Signed-off-by: Oleksij Rempel --- drivers/net/wireless/ath/ath9k/htc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index 04d2f4f..ca801a0 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h @@ -378,7 +378,7 @@ void ath9k_htc_get_et_stats(struct ieee80211_hw *hw, #define TX_QSTAT_INC(c) do { } while (0) static inline void ath9k_htc_err_stat_rx(struct ath9k_htc_priv *priv, - struct ath_htc_rx_status *rxs) + struct ath_rx_status *rs); { }