From: Tomas Winkler Date: Wed, 5 Dec 2007 18:59:58 +0000 (+0200) Subject: iwlwifi: fix compliation warnings X-Git-Tag: v2.6.25-rc1~1162^2~449 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fd1f8414664b3e834aa46cdbf8f0c12fc42a878;p=linux-2.6 iwlwifi: fix compliation warnings This patch fixes compilation warnings introduced by 'fix ucode assertion for RX queue overrun' patch Signed-off-by: Tomas Winkler Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index bab42a1351..c366ad55f7 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c @@ -4163,7 +4163,7 @@ static void iwl3945_rx_allocate(struct iwl3945_priv *priv) /* * this should be called while priv->lock is locked */ -void __iwl3945_rx_replenish(void *data) +static void __iwl3945_rx_replenish(void *data) { struct iwl3945_priv *priv = data; diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 3a9f14d8f2..7550594ed4 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c @@ -4534,7 +4534,7 @@ static void iwl4965_rx_allocate(struct iwl4965_priv *priv) /* * this should be called while priv->lock is locked */ -void __iwl4965_rx_replenish(void *data) +static void __iwl4965_rx_replenish(void *data) { struct iwl4965_priv *priv = data; @@ -6038,7 +6038,7 @@ static void iwl4965_dealloc_ucode_pci(struct iwl4965_priv *priv) * iwl4965_verify_inst_full - verify runtime uCode image in card vs. host, * looking at all data. */ -static int iwl4965_verify_inst_full(struct iwl4965_priv *priv, __le32 * image, +static int iwl4965_verify_inst_full(struct iwl4965_priv *priv, __le32 *image, u32 len) { u32 val;