netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/62] drivers/net: Use static const
@ 2010-11-21  2:38 Joe Perches
  2010-11-21  2:38 ` [PATCH 01/62] 3c501: " Joe Perches
                   ` (57 more replies)
  0 siblings, 58 replies; 76+ messages in thread
From: Joe Perches @ 2010-11-21  2:38 UTC (permalink / raw)
  To: netdev, e1000-devel, linux-usb, linux-wireless, ath5k-devel,
	ath9k-devel, liberta
  Cc: socketcan-core, linux-kernel

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

^ permalink raw reply	[flat|nested] 76+ messages in thread

end of thread, other threads:[~2010-11-30 18:36 UTC | newest]

Thread overview: 76+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-21  2:38 [PATCH 00/62] drivers/net: Use static const Joe Perches
2010-11-21  2:38 ` [PATCH 01/62] 3c501: " Joe Perches
2010-11-21  2:38 ` [PATCH 02/62] 3c503: " Joe Perches
2010-11-21  2:38 ` [PATCH 03/62] 3c507: " Joe Perches
2010-11-21  2:38 ` [PATCH 04/62] 3c527: " Joe Perches
2010-11-21  2:38 ` [PATCH 05/62] at1700: " Joe Perches
2010-11-21  2:38 ` [PATCH 06/62] benet: " Joe Perches
2010-11-21  2:38 ` [PATCH 07/62] bnx2: " Joe Perches
2010-11-21  2:38 ` [PATCH 08/62] bnx2x: " Joe Perches
2010-11-21  2:38 ` [PATCH 09/62] can: " Joe Perches
2010-11-21  2:38 ` [PATCH 10/62] chelsio: " Joe Perches
2010-11-21  2:38 ` [PATCH 11/62] cxgb3: " Joe Perches
2010-11-21  2:38 ` [PATCH 12/62] " Joe Perches
2010-11-21  2:38 ` [PATCH 13/62] cxgb4: " Joe Perches
2010-11-21  2:38 ` [PATCH 14/62] cxgb4vf: " Joe Perches
2010-11-22 17:42   ` Casey Leedom
2010-11-21  2:38 ` [PATCH 15/62] e1000: " Joe Perches
2010-11-21  2:38 ` [PATCH 16/62] " Joe Perches
2010-11-21  2:38 ` [PATCH 17/62] e1000e: " Joe Perches
2010-11-21  2:38 ` [PATCH 18/62] e2100: " Joe Perches
2010-11-21  2:38 ` [PATCH 19/62] eepro: " Joe Perches
2010-11-21  2:38 ` [PATCH 20/62] eexpress: " Joe Perches
2010-11-21  2:38 ` [PATCH 21/62] gianfar: " Joe Perches
2010-11-21  2:38 ` [PATCH 22/62] hp: " Joe Perches
2010-11-21  2:38 ` [PATCH 23/62] igb: " Joe Perches
2010-11-21  2:38 ` [PATCH 24/62] irda: " Joe Perches
2010-11-21  2:38 ` [PATCH 25/62] " Joe Perches
2010-11-21  2:38 ` [PATCH 26/62] ixgbe: " Joe Perches
2010-11-21  2:38 ` [PATCH 27/62] ixgbevf: " Joe Perches
2010-11-21  2:38 ` [PATCH 28/62] ixgb: " Joe Perches
2010-11-21  2:38 ` [PATCH 29/62] jme: " Joe Perches
2010-11-21  2:38 ` [PATCH 30/62] ksz884x: " Joe Perches
2010-11-21  2:38 ` [PATCH 31/62] netxen: " Joe Perches
2010-11-21  2:38 ` [PATCH 32/62] ni52: " Joe Perches
2010-11-21  2:38 ` [PATCH 33/62] ni65: " Joe Perches
2010-11-21  2:38 ` [PATCH 34/62] pcmcia: " Joe Perches
2010-11-21  2:38 ` [PATCH 35/62] qlcnic: " Joe Perches
2010-11-21  2:38 ` [PATCH 36/62] qlge: " Joe Perches
2010-11-21  2:38 ` [PATCH 37/62] r8169: " Joe Perches
2010-11-21  2:38 ` [PATCH 38/62] s2io: " Joe Perches
2010-11-22  5:36   ` Jon Mason
2010-11-21  2:38 ` [PATCH 39/62] skfp: " Joe Perches
2010-11-21  2:38 ` [PATCH 40/62] skge: " Joe Perches
2010-11-21  2:38 ` [PATCH 41/62] smc-ultra: " Joe Perches
2010-11-21  2:38 ` [PATCH 42/62] tg3: " Joe Perches
2010-11-21  2:38 ` [PATCH 43/62] tokenring: " Joe Perches
2010-11-21  2:38 ` [PATCH 44/62] tulip: " Joe Perches
2010-11-21  2:38 ` [PATCH 45/62] " Joe Perches
2010-11-21  2:38 ` [PATCH 47/62] vmxnet3: " Joe Perches
2010-11-30 18:15   ` Shreyas Bhatewara
2010-11-30 18:24     ` David Miller
2010-11-30 18:36       ` Joe Perches
2010-11-21  2:38 ` [PATCH 48/62] wan: " Joe Perches
2010-11-21  2:38 ` [PATCH 49/62] wd: " Joe Perches
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
     [not found] ` <cover.1290305773.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2010-11-21  2:38   ` [PATCH 46/62] usb: " Joe Perches
     [not found]     ` <ed2a5bd07f07601ba12ce3c8fcbce2dd954c35aa.1290305776.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2010-11-21 14:06       ` Sergei Shtylyov
2010-11-21  2:38   ` [PATCH 54/62] atmel: " Joe Perches
2010-11-21  2:38   ` [PATCH 56/62] iwlwifi: " Joe Perches
     [not found]     ` <2773a20a26f4e326f0849e8ae8fb4f347d6a6ecb.1290305776.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2010-11-22 15:37       ` Guy, Wey-Yi
2010-11-21  2:38   ` [PATCH 58/62] ray_cs: " 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
2010-11-21  2:38 ` [PATCH 55/62] b43: " Joe Perches
2010-11-21  2:38 ` [PATCH 57/62] libertas: " 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
     [not found]   ` <d8bfaded20da2265673391a81536d63b0e81dc7f.1290305776.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2010-11-21  8:58     ` Gertjan van Wingerde
2010-11-21  2:39 ` [PATCH 61/62] wl12xx: " Joe Perches

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).