LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: James Ketrenos <jketreno@linux.intel.com>,
	netdev@vger.kernel.org, linux-wireless@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	ipw3945-devel@lists.sourceforge.net
Subject: iwlwifi warnings
Date: Tue, 20 Feb 2007 22:23:21 -0800	[thread overview]
Message-ID: <45DBE559.8080903@osdl.org> (raw)
In-Reply-To: <20070219224432.GD21199@elf.ucw.cz>

BUilding with sparse shows lots of warnings.


$ make C=1
Checking kernel compatibility in:
    /lib/modules/2.6.20.1/source
 * Kernel supports required features for 'tip' version.
Building compatibility version in 'compatible/' directory:
Copying compatible/ from origin/...done
make -C /lib/modules/2.6.20.1/build M=/home/shemminger/src/iwlwifi-0.0.8 
modules
make[1]: Entering directory `/home/shemminger/kernel/linux-2.6.20.1'
  CHECK   /home/shemminger/src/iwlwifi-0.0.8/compatible/base.c
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11115:12: warning: 
function 'ipw_rate_scale_clear_window' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11352:12: warning: 
function 'ipw_collect_tx_data' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11480:12: warning: 
function 'ipw_convert_to_rate_index' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11665:12: warning: 
function 'ipw_convert_to_phy_index' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11677:30: warning: 
function 'ipw_get_lowest_rate' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11692:12: warning: 
function 'ipw_get_adjacent_rate' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:1522:11: warning: 
Using plain integer as NULL pointer
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:10004:16: warning: 
Using plain integer as NULL pointer
  CC [M]  /home/shemminger/src/iwlwifi-0.0.8/compatible/base.o
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c: In function 
^[$-1òøipw_rx_handleòù:
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8175: warning: 
unused variable ^[$-1òøsleepòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8195: warning: 
unused variable ^[$-1òøbeaconòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8227: warning: 
unused variable ^[$-1òønotifòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8259: warning: 
unused variable ^[$-1òønotifòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c: At top level:
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:3889: warning: 
^[$-1òøipw_set_rxon_confòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:2523: warning: 
^[$-1òøipw_rate_ieee2indexòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:2577: warning: 
^[$-1òøipw_check_rx_config_cmdòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:3628: warning: 
^[$-1òøipw_setup_rxon_timingòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:6931: warning: 
^[$-1òøipw_send_qos_params_commandòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:7964: warning: 
^[$-1òøget_tx_fail_reasonòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8637: warning: 
^[$-1òøipw_get_rate_by_rssiòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:10371: warning: 
^[$-1òød_hw_scanòù defined but not used
  LD [M]  /home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "ieee80211_rx_irqsafe" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_register_hwmode" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_unregister_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_scan_completed" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_get_hdrlen" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_tx_status" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "sta_info_get" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_rate_control_register" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_netif_oper" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_tx_status_irqsafe" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_get_hdrlen_from_skb" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_rate_control_unregister" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_register_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_alloc_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_free_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "sta_info_put" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
  CC      /home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.mod.o8$ 
make C=1
Checking kernel compatibility in:
    /lib/modules/2.6.20.1/source
 * Kernel supports required features for 'tip' version.
Building compatibility version in 'compatible/' directory:
Copying compatible/ from origin/...done
make -C /lib/modules/2.6.20.1/build M=/home/shemminger/src/iwlwifi-0.0.8 
modules
make[1]: Entering directory `/home/shemminger/kernel/linux-2.6.20.1'
  CHECK   /home/shemminger/src/iwlwifi-0.0.8/compatible/base.c
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11115:12: warning: 
function 'ipw_rate_scale_clear_window' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11352:12: warning: 
function 'ipw_collect_tx_data' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11480:12: warning: 
function 'ipw_convert_to_rate_index' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11665:12: warning: 
function 'ipw_convert_to_phy_index' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11677:30: warning: 
function 'ipw_get_lowest_rate' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:11692:12: warning: 
function 'ipw_get_adjacent_rate' with external linkage has definition
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:1522:11: warning: 
Using plain integer as NULL pointer
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:10004:16: warning: 
Using plain integer as NULL pointer
  CC [M]  /home/shemminger/src/iwlwifi-0.0.8/compatible/base.o
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c: In function 
^[$-1òøipw_rx_handleòù:
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8175: warning: 
unused variable ^[$-1òøsleepòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8195: warning: 
unused variable ^[$-1òøbeaconòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8227: warning: 
unused variable ^[$-1òønotifòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8259: warning: 
unused variable ^[$-1òønotifòù
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c: At top level:
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:3889: warning: 
^[$-1òøipw_set_rxon_confòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:2523: warning: 
^[$-1òøipw_rate_ieee2indexòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:2577: warning: 
^[$-1òøipw_check_rx_config_cmdòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:3628: warning: 
^[$-1òøipw_setup_rxon_timingòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:6931: warning: 
^[$-1òøipw_send_qos_params_commandòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:7964: warning: 
^[$-1òøget_tx_fail_reasonòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:8637: warning: 
^[$-1òøipw_get_rate_by_rssiòù defined but not used
/home/shemminger/src/iwlwifi-0.0.8/compatible/base.c:10371: warning: 
^[$-1òød_hw_scanòù defined but not used
  LD [M]  /home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "ieee80211_rx_irqsafe" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_register_hwmode" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_unregister_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_scan_completed" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_get_hdrlen" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_tx_status" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "sta_info_get" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_rate_control_register" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_netif_oper" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_tx_status_irqsafe" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_get_hdrlen_from_skb" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_rate_control_unregister" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_register_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_alloc_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "ieee80211_free_hw" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
WARNING: "sta_info_put" 
[/home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko] undefined!
  CC      /home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.mod.o
  LD [M]  /home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko
make[1]: Leaving directory `/home/shemminger/kernel/linux-2.6.20.1'

  LD [M]  /home/shemminger/src/iwlwifi-0.0.8/compatible/iwlwifi.ko
make[1]: Leaving directory `/home/shemminger/kernel/linux-2.6.20.1'


  reply	other threads:[~2007-02-21  6:23 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 21:12 [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG James Ketrenos
2007-02-09 22:14 ` Alon Bar-Lev
2007-02-09 22:26 ` Neil Brown
2007-02-09 21:52   ` James Ketrenos
2007-02-10  3:26     ` Nick Kossifidis
2007-02-09 22:37   ` Stefan Schmidt
2007-02-10  0:46 ` [ipw3945-devel] " Norbert Preining
2007-02-13 23:23   ` James Ketrenos
2007-02-10 13:23 ` Hesse, Christian
2007-02-10 14:25   ` Hesse, Christian
2007-02-12 16:32     ` [ipw3945-devel] " dragoran
2007-02-12 18:35     ` James Ketrenos
2007-02-11 13:19   ` Johannes Berg
2007-02-10 16:22 ` Theodore Tso
2007-02-10 16:39   ` John W. Linville
2007-02-10 17:53     ` [ipw3945-devel] " Pavel Roskin
2007-02-10 22:41       ` John W. Linville
2007-02-10 18:42   ` Michael Buesch
2007-02-13 13:58 ` Ismail Dönmez
2007-02-13 15:10   ` Jeff Chua
2007-02-13 16:57     ` Ismail Dönmez
2007-02-13 22:55       ` James Ketrenos
2007-02-13 18:13 ` Pavel Machek
2007-02-13 18:36   ` Johannes Berg
2007-02-13 23:18     ` James Ketrenos
2007-02-14  0:16   ` [ipw3945-devel] " James Ketrenos
2007-02-19 22:44     ` Pavel Machek
2007-02-21  6:23       ` Stephen Hemminger [this message]
2007-02-21  7:32         ` iwlwifi warnings Randy Dunlap
2007-02-21 19:38         ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DBE559.8080903@osdl.org \
    --to=shemminger@osdl.org \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=jketreno@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --subject='Re: iwlwifi warnings' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).