Re: New sparse warning in net/mac80211/debugfs_sta.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Joe Perches <joe@...>
Cc: David Miller <davem@...>, <johannes@...>, <harvey.harrison@...>, <netdev@...>
Date: Tuesday, April 8, 2008 - 4:18 pm

Joe Perches wrote:


Unfortunately the current tree still includes all the fallout,
are you planning on cleaning this up again any time soon?

I've attached a codiff of a tree with and without this change
(might not include all drivers, but I think I enabled all that
build on x86_64). The _probe and _init_one functions should
be harmless, but there are lots of functions that look like
they would prefer to avoid useless overhead. A small sample:

drivers/net/starfire.c:
   netdev_poll       |  +50

drivers/net/tokenring/olympic.c:
   olympic_interrupt |  +10

drivers/net/wan/pc300_drv.c:
   cpc_net_rx |  +11

drivers/net/wireless/ipw2200.c:
   ipw_net_hard_start_xmit |  +32

drivers/net/wireless/hostap/hostap_80211_rx.c:
   hostap_rx_frame_decrypt |  +27
   hostap_80211_rx         |  +96

drivers/net/wireless/hostap/hostap_80211_tx.c:
   hostap_master_start_xmit |  +18

drivers/net/wireless/hostap/hostap_ap.c:
   hostap_handle_sta_tx_exc |  +13
   hostap_ap_tx_cb_poll     |   +9
   hostap_rx                | +254
   hostap_ap_tx_cb_auth     |  +62
   hostap_ap_tx_cb_assoc    |  +26
   hostap_handle_sta_tx     |  +90
   hostap_handle_sta_rx     |  +63

<lots more wireless>

drivers/net/virtio_net.c:
   start_xmit |  +19

net/atm/lec.c:
   lec_start_xmit | +118
   lec_atm_send   |   +2

net/ieee80211/ieee80211_rx.c:
   ieee80211_rx |  +32
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: New sparse warning in net/mac80211/debugfs_sta.c, Harvey Harrison, (Thu Feb 21, 6:01 am)
Re: New sparse warning in net/mac80211/debugfs_sta.c, David Miller, (Thu Feb 21, 6:05 am)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Patrick McHardy, (Thu Feb 21, 1:45 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Joe Perches, (Thu Feb 21, 1:17 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Johannes Berg, (Thu Feb 21, 6:17 am)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Joe Perches, (Thu Feb 21, 1:54 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Patrick McHardy, (Thu Feb 21, 2:00 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Patrick McHardy, (Thu Feb 21, 2:15 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, David Miller, (Sun Feb 24, 12:02 am)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Patrick McHardy, (Mon Feb 25, 7:47 am)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Joe Perches, (Mon Feb 25, 3:58 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Patrick McHardy, (Tue Apr 8, 4:18 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Joe Perches, (Tue Apr 8, 5:02 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Patrick McHardy, (Tue Apr 8, 5:19 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Joe Perches, (Tue Apr 8, 6:09 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Patrick McHardy, (Tue Apr 8, 6:32 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, David Miller, (Tue Apr 8, 6:30 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Joe Perches, (Tue Apr 8, 6:41 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, David Miller, (Tue Apr 8, 5:16 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Johannes Berg, (Mon Feb 25, 5:53 am)
Re: New sparse warning in net/mac80211/debugfs_sta.c, David Miller, (Mon Feb 25, 3:52 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Johannes Berg, (Mon Feb 25, 3:56 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, David Miller, (Mon Feb 25, 4:12 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Johannes Berg, (Mon Feb 25, 4:05 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, David Miller, (Mon Feb 25, 4:14 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Johannes Berg, (Mon Feb 25, 1:23 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Joe Perches, (Mon Feb 25, 12:53 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Johannes Berg, (Mon Feb 25, 1:29 pm)
Re: New sparse warning in net/mac80211/debugfs_sta.c, Harvey Harrison, (Thu Feb 21, 6:14 am)