1. 13 Oct, 2008 3 commits
    • Adrian Bunk's avatar
      net/tc35815.c: fix compilation · 51cf756c
      Adrian Bunk authored
      Fix an obvious typo introduced by
      commit 298cf9be
      (phylib: move to dynamic allocation of struct mii_bus).
      
      <--  snip  -->
      
      ...
        CC      drivers/net/tc35815.o
      drivers/net/tc35815.c: In function 'tc_mii_init':
      drivers/net/tc35815.c:799: error: 'err_out_free_mii_bus' undeclared (first use in this function)
      drivers/net/tc35815.c:799: error: (Each undeclared identifier is reported only once
      drivers/net/tc35815.c:799: error: for each function it appears in.)
      drivers/net/tc35815.c:781: error: label 'err_out_free_mii_bus' used but not defined
      make[3]: *** [drivers/net/tc35815.o] Error 1
      
      <--  snip  -->
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      51cf756c
    • Rafael J. Wysocki's avatar
      sky2: Fix WOL regression · 9d731d77
      Rafael J. Wysocki authored
          
      Since dev->power.should_wakeup bit is used by the PCI core to
      decide whether the device should wake up the system from sleep
      states, set/unset this bit whenever WOL is enabled/disabled using
      sky2_set_wol().
          
      Remove an open-coded reference to the standard PCI PM registers that
      is not used any more.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9d731d77
    • Petr Vandrovec's avatar
      r8169: NULL pointer dereference on r8169 load · 738e1e69
      Petr Vandrovec authored
      mmio_addr in r8169 needs to be initialized before use
      
      Maybe that all tp-> initialization should be moved before rtl_init_mac_address call,
      but this is enough to get rid of crash in rtl_rar_set due to mmio_addr being uninitialized.
      Signed-off-by: default avatarPetr Vandrovec <petr@vandrovec.name>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      738e1e69
  2. 11 Oct, 2008 37 commits