1. 24 9月, 2011 2 次提交
    • J
      ixgb: eliminate checkstack warnings · ac5ac789
      Jesse Brandeburg 提交于
      Really trivial fix, use kmalloc/kfree instead of stack space.
      use static const instead of const to further reduce stack usage.
      
      V2: reflect changes suggested by Joe Perches
      
      before:
      [jbrandeb@jbrandeb-mobl2 linux-2.6]$ make checkstack|grep '\[ixgb\]'
      0x00000fc1 ixgb_set_multi [ixgb]:                       768
      0x00001031 ixgb_set_multi [ixgb]:                       768
      0x000010f2 ixgb_set_multi [ixgb]:                       768
      0x061c ixgb_check_options [ixgb]:                       448
      0x09c3 ixgb_check_options [ixgb]:                       448
      0x0000649e ixgb_set_ringparam [ixgb]:                   192
      0x0000130d ixgb_xmit_frame [ixgb]:                      184
      0x000019e0 ixgb_xmit_frame [ixgb]:                      184
      0x00002267 ixgb_clean [ixgb]:                           152
      0x00002673 ixgb_clean [ixgb]:                           152
      
      after:
      0x000064ee ixgb_set_ringparam [ixgb]:                   192
      0x0000135d ixgb_xmit_frame [ixgb]:                      184
      0x00001a30 ixgb_xmit_frame [ixgb]:                      184
      0x000022b7 ixgb_clean [ixgb]:                           152
      0x000026c3 ixgb_clean [ixgb]:                           152
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ac5ac789
    • H
      seeq: fix compile breakage on s390 · 757216ef
      Heiko Carstens 提交于
      The SEEQ drivers should depend on HAS_IOMEM to prevent compile breakage
      on !HAS_IOMEM architectures:
      
      drivers/net/ethernet/seeq/seeq8005.c: In function 'seeq8005_probe1':
      drivers/net/ethernet/seeq/seeq8005.c:179:2: error:
        implicit declaration of function 'inw' [-Werror=implicit-function-declaration]
      
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      757216ef
  2. 23 9月, 2011 14 次提交
  3. 22 9月, 2011 7 次提交
  4. 21 9月, 2011 13 次提交
  5. 20 9月, 2011 4 次提交