1. 05 Dec, 2018 1 commit
  2. 08 Aug, 2018 1 commit
  3. 27 Mar, 2018 1 commit
  4. 22 Nov, 2017 1 commit
    • Kees Cook's avatar
      treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts · 841b86f3
      Kees Cook authored
      
      
      With all callbacks converted, and the timer callback prototype
      switched over, the TIMER_FUNC_TYPE cast is no longer needed,
      so remove it. Conversion was done with the following scripts:
      
          perl -pi -e 's|\(TIMER_FUNC_TYPE\)||g' \
              $(git grep TIMER_FUNC_TYPE | cut -d: -f1 | sort -u)
      
          perl -pi -e 's|\(TIMER_DATA_TYPE\)||g' \
              $(git grep TIMER_DATA_TYPE | cut -d: -f1 | sort -u)
      
      The now unused macros are also dropped from include/linux/timer.h.
      
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      841b86f3
  5. 18 Oct, 2017 1 commit
  6. 13 Oct, 2016 2 commits
    • Arnd Bergmann's avatar
      tlan: avoid unused label with PCI=n · 1e09c106
      Arnd Bergmann authored
      
      
      While build testing with randconfig on x86, I ran into this warning
      that appears to have been around forever
      
      drivers/net/ethernet/ti/tlan.c: In function ‘tlan_probe1’:
      drivers/net/ethernet/ti/tlan.c:614:1: error: label ‘err_out’ defined but not used [-Werror=unused-label]
      
      This can be trivially avoided by just moving the label into the
      existing #ifdef.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1e09c106
    • Jarod Wilson's avatar
      net: deprecate eth_change_mtu, remove usage · a52ad514
      Jarod Wilson authored
      
      
      With centralized MTU checking, there's nothing productive done by
      eth_change_mtu that isn't already done in dev_set_mtu, so mark it as
      deprecated and remove all usage of it in the kernel. All callers have been
      audited for calls to alloc_etherdev* or ether_setup directly, which means
      they all have a valid dev->min_mtu and dev->max_mtu. Now eth_change_mtu
      prints out a netdev_warn about being deprecated, for the benefit of
      out-of-tree drivers that might be utilizing it.
      
      Of note, dvb_net.c actually had dev->mtu = 4096, while using
      eth_change_mtu, meaning that if you ever tried changing it's mtu, you
      couldn't set it above 1500 anymore. It's now getting dev->max_mtu also set
      to 4096 to remedy that.
      
      v2: fix up lantiq_etop, missed breakage due to drive not compiling on x86
      
      CC: netdev@vger.kernel.org
      Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a52ad514
  7. 17 Jun, 2016 1 commit
    • Arnd Bergmann's avatar
      net: tlan: don't set unused function argument · 40309d26
      Arnd Bergmann authored
      
      
      We get a warning for tlan_handle_tx_eoc when building with "make W=1"
      
      drivers/net/ethernet/ti/tlan.c: In function 'tlan_handle_tx_eoc':
      drivers/net/ethernet/ti/tlan.c:1647:59: error: parameter 'host_int' set but not used [-Werror=unused-but-set-parameter]
       static u32 tlan_handle_tx_eoc(struct net_device *dev, u16 host_int)
      
      This is harmless, but removing the unused assignment lets us avoid
      the warning with no downside.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      40309d26
  8. 04 May, 2016 1 commit
  9. 16 Oct, 2015 1 commit
  10. 04 Feb, 2015 2 commits
  11. 12 Aug, 2014 1 commit
  12. 08 Jul, 2014 11 commits
  13. 23 Oct, 2013 1 commit
  14. 29 Jun, 2013 1 commit
  15. 20 May, 2013 1 commit
  16. 16 Apr, 2013 1 commit
  17. 09 Mar, 2013 1 commit
  18. 07 Dec, 2012 1 commit
  19. 03 Dec, 2012 1 commit
  20. 25 Apr, 2012 1 commit
  21. 14 Apr, 2012 1 commit
  22. 31 Jan, 2012 1 commit
  23. 18 Aug, 2011 1 commit
  24. 12 Aug, 2011 1 commit
  25. 07 Jun, 2011 1 commit
  26. 03 Mar, 2011 2 commits
  27. 13 Feb, 2011 1 commit