From: Joe Perches <joe@perches.com>
To: netdev@vger.kernel.org, e1000-devel@lists.sourceforge.net,
linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org,
ath5k-devel@lists.ath5k.org, ath9k-devel@lists.ath9k.org,
libertas-dev@lists.infradead.org, users@rt2x00.serialmonkey.com
Cc: linux-kernel@vger.kernel.org, socketcan-core@lists.berlios.de
Subject: [PATCH 00/62] drivers/net: Use static const
Date: Sat, 20 Nov 2010 18:38:01 -0800 [thread overview]
Message-ID: <cover.1290305773.git.joe@perches.com> (raw)
Using static const generally increases object text and decreases data size.
It also generally decreases overall object size.
Summary of sizes old and new. Compiled allyesconfig x86 only.
text data bss dec hex filename
2075402 67170 466644 2609216 27d040 (TOTALS) -new
2074597 70614 466668 2611879 27daa7 (TOTALS) -old
Joe Perches (62):
3c501: Use static const
3c503: Use static const
3c507: Use static const
3c527: Use static const
at1700: Use static const
benet: Use static const
bnx2: Use static const
bnx2x: Use static const
can: Use static const
chelsio: Use static const
cxgb3: Use static const
cxgb3: Use static const
cxgb4: Use static const
cxgb4vf: Use static const
e1000: Use static const
e1000: Use static const
e1000e: Use static const
e2100: Use static const
eepro: Use static const
eexpress: Use static const
gianfar: Use static const
hp: Use static const
igb: Use static const
irda: Use static const
irda: Use static const
ixgbe: Use static const
ixgbevf: Use static const
ixgb: Use static const
jme: Use static const
ksz884x: Use static const
netxen: Use static const
ni52: Use static const
ni65: Use static const
pcmcia: Use static const
qlcnic: Use static const
qlge: Use static const
r8169: Use static const
s2io: Use static const
skfp: Use static const
skge: Use static const
smc-ultra: Use static const
tg3: Use static const
tokenring: Use static const
tulip: Use static const
tulip: Use static const
usb: Use static const
vmxnet3: Use static const
wan: Use static const
wd: Use static const
ar9170: Use const
ath5k: Use static const
ath9k: Use static const
carl9170: Use static const
atmel: Use static const
b43: Use static const
iwlwifi: Use static const
libertas: Use static const
ray_cs: Use static const
rndis_wlan: Use static const
rt2x00: Use static const
wl12xx: Use static const
zd1211rw: Use const
drivers/net/3c501.c | 4 +-
drivers/net/3c503.c | 4 +-
drivers/net/3c507.c | 4 +-
drivers/net/3c527.c | 6 +-
drivers/net/at1700.c | 6 +-
drivers/net/benet/be_ethtool.c | 4 +-
drivers/net/benet/be_main.c | 10 ++--
drivers/net/bnx2.c | 46 ++++++++++++-----------
drivers/net/bnx2x/bnx2x_main.c | 6 ++-
drivers/net/can/sja1000/plx_pci.c | 2 +-
drivers/net/chelsio/sge.c | 10 ++---
drivers/net/cxgb3/ael1002.c | 24 ++++++------
drivers/net/cxgb3/t3_hw.c | 2 +-
drivers/net/cxgb4/t4_hw.c | 48 ++++++++++++------------
drivers/net/cxgb4vf/t4vf_hw.c | 2 +-
drivers/net/e1000/e1000_hw.c | 8 ++--
drivers/net/e1000/e1000_param.c | 13 +++---
drivers/net/e1000e/phy.c | 11 +++--
drivers/net/e2100.c | 2 +-
drivers/net/eepro.c | 9 ++--
drivers/net/eexpress.c | 2 +-
drivers/net/gianfar.c | 10 +++--
drivers/net/hp.c | 6 +-
drivers/net/igb/e1000_phy.c | 11 +++--
drivers/net/irda/act200l-sir.c | 2 +-
drivers/net/irda/donauboe.c | 4 +-
drivers/net/ixgb/ixgb_param.c | 21 +++++-----
drivers/net/ixgbe/ixgbe_ethtool.c | 22 ++++++----
drivers/net/ixgbevf/ethtool.c | 18 +++++---
drivers/net/jme.c | 4 +-
drivers/net/ksz884x.c | 20 +++++-----
drivers/net/netxen/netxen_nic_hw.c | 16 +++++---
drivers/net/ni52.c | 4 +-
drivers/net/ni65.c | 4 +-
drivers/net/pcmcia/nmclan_cs.c | 2 +-
drivers/net/qlcnic/qlcnic_hw.c | 15 ++++---
drivers/net/qlge/qlge_main.c | 13 +++---
drivers/net/r8169.c | 2 +-
drivers/net/s2io.c | 20 ++++++----
drivers/net/skfp/smt.c | 4 +-
drivers/net/skge.c | 4 +-
drivers/net/smc-ultra.c | 8 +++-
drivers/net/tg3.c | 26 ++++++-------
drivers/net/tokenring/ibmtr.c | 5 +-
drivers/net/tulip/de2104x.c | 18 ++++++---
drivers/net/tulip/tulip_core.c | 15 ++++---
drivers/net/usb/hso.c | 39 ++++++++-----------
drivers/net/vmxnet3/vmxnet3_drv.c | 4 +-
drivers/net/wan/dscc4.c | 6 +-
drivers/net/wd.c | 2 +-
drivers/net/wireless/ath/ar9170/cmd.c | 2 +-
drivers/net/wireless/ath/ath5k/ani.c | 34 ++++++++--------
drivers/net/wireless/ath/ath9k/ani.c | 8 ++--
drivers/net/wireless/ath/ath9k/ar5008_phy.c | 32 ++++++++-------
drivers/net/wireless/ath/ath9k/ar9002_phy.c | 12 +++--
drivers/net/wireless/ath/ath9k/ar9003_calib.c | 10 ++--
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 8 ++-
drivers/net/wireless/ath/ath9k/ar9003_paprd.c | 4 +-
drivers/net/wireless/ath/ath9k/ar9003_phy.c | 4 +-
drivers/net/wireless/ath/ath9k/eeprom_4k.c | 12 +++--
drivers/net/wireless/ath/ath9k/eeprom_9287.c | 14 +++---
drivers/net/wireless/ath/ath9k/eeprom_def.c | 17 +++++---
drivers/net/wireless/ath/ath9k/htc_drv_init.c | 2 +-
drivers/net/wireless/ath/ath9k/hw.c | 9 ++--
drivers/net/wireless/ath/ath9k/rc.c | 6 +-
drivers/net/wireless/ath/carl9170/cmd.c | 2 +-
drivers/net/wireless/atmel.c | 6 ++-
drivers/net/wireless/b43/phy_common.c | 8 ++-
drivers/net/wireless/b43/phy_n.c | 9 ++--
drivers/net/wireless/iwlwifi/iwl-3945.c | 2 +-
drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 6 +-
drivers/net/wireless/libertas/cfg.c | 2 +-
drivers/net/wireless/libertas/rx.c | 4 +-
drivers/net/wireless/ray_cs.c | 4 +-
drivers/net/wireless/rndis_wlan.c | 9 +++-
drivers/net/wireless/rt2x00/rt2800lib.c | 2 +-
drivers/net/wireless/wl12xx/wl1271_acx.c | 4 +-
drivers/net/wireless/zd1211rw/zd_chip.c | 4 +-
78 files changed, 422 insertions(+), 362 deletions(-)
--
1.7.3.2.245.g03276.dirty
next reply other threads:[~2010-11-21 2:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-21 2:38 Joe Perches [this message]
2010-11-21 2:38 ` [PATCH 50/62] ar9170: Use const Joe Perches
2010-11-21 2:38 ` [PATCH 51/62] ath5k: Use static const Joe Perches
2010-11-21 2:38 ` [PATCH 52/62] ath9k: " Joe Perches
2010-11-21 2:38 ` [PATCH 53/62] carl9170: " Joe Perches
2010-11-21 2:38 ` [PATCH 54/62] atmel: " Joe Perches
2010-11-21 2:38 ` [PATCH 55/62] b43: " Joe Perches
2010-11-21 2:38 ` [PATCH 56/62] iwlwifi: " Joe Perches
2010-11-22 15:37 ` Guy, Wey-Yi
2010-11-21 2:38 ` [PATCH 57/62] libertas: " Joe Perches
2010-11-21 2:38 ` [PATCH 58/62] ray_cs: " Joe Perches
2010-11-21 2:39 ` [PATCH 59/62] rndis_wlan: " Joe Perches
2010-11-21 2:39 ` [PATCH 60/62] rt2x00: " Joe Perches
2010-11-21 8:58 ` Gertjan van Wingerde
2010-11-21 2:39 ` [PATCH 61/62] wl12xx: " Joe Perches
2010-11-21 2:39 ` [PATCH 62/62] zd1211rw: Use const Joe Perches
2010-11-21 4:50 ` [PATCH 00/62] drivers/net: Use static const David Miller
2010-11-22 22:10 ` Joe Perches
2010-11-22 22:19 ` David Miller
2010-11-22 22:40 ` Joe Perches
2010-11-23 16:28 ` David Miller
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=cover.1290305773.git.joe@perches.com \
--to=joe@perches.com \
--cc=ath5k-devel@lists.ath5k.org \
--cc=ath9k-devel@lists.ath9k.org \
--cc=e1000-devel@lists.sourceforge.net \
--cc=libertas-dev@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=socketcan-core@lists.berlios.de \
--cc=users@rt2x00.serialmonkey.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).