1. 03 1月, 2018 1 次提交
  2. 20 12月, 2017 4 次提交
  3. 18 10月, 2017 1 次提交
    • K
      ethernet/broadcom: Convert timers to use timer_setup() · eb8c6b5b
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      helper to pass the timer pointer explicitly.
      
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: bcm-kernel-feedback-list@broadcom.com
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Jarod Wilson <jarod@redhat.com>
      Cc: netdev@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eb8c6b5b
  4. 02 10月, 2017 5 次提交
  5. 27 9月, 2017 1 次提交
  6. 22 9月, 2017 1 次提交
  7. 31 8月, 2017 1 次提交
  8. 14 6月, 2017 2 次提交
  9. 28 2月, 2017 1 次提交
  10. 31 1月, 2017 1 次提交
  11. 21 1月, 2017 1 次提交
    • A
      bcm63xx_enet: avoid uninitialized variable warning · df384d43
      Arnd Bergmann 提交于
      gcc-7 and probably earlier versions get confused by this function
      and print a harmless warning:
      
      drivers/net/ethernet/broadcom/bcm63xx_enet.c: In function 'bcm_enet_open':
      drivers/net/ethernet/broadcom/bcm63xx_enet.c:1130:3: error: 'phydev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      This adds an initialization for the 'phydev' variable when it is unused
      and changes the check to test for that NULL pointer to make it clear
      that we always pass a valid pointer here.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      df384d43
  12. 16 11月, 2016 2 次提交
  13. 19 10月, 2016 1 次提交
    • A
      net: bcm63xx: avoid referencing uninitialized variable · 4b75ca5a
      Arnd Bergmann 提交于
      gcc found a reference to an uninitialized variable in the error handling
      of bcm_enet_open, introduced by a recent cleanup:
      
      drivers/net/ethernet/broadcom/bcm63xx_enet.c: In function 'bcm_enet_open'
      drivers/net/ethernet/broadcom/bcm63xx_enet.c:1129:2: warning: 'phydev' may be used uninitialized in this function [-Wmaybe-uninitialized]
      
      This makes the use of that variable conditional, so we only reference it
      here after it has been used before. Unlike my normal patches, I have not
      build-tested this one, as I don't currently have mips test in my
      randconfig setup.
      
      Fixes: 625eb866 ("net: ethernet: broadcom: bcm63xx: use phydev from struct net_device")
      Cc: Philippe Reynes <tremyfr@gmail.com>
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4b75ca5a
  14. 18 10月, 2016 1 次提交
    • J
      ethernet/broadcom: use core min/max MTU checking · e1c6dcca
      Jarod Wilson 提交于
      tg3: min_mtu 60, max_mtu 9000/1500
      
      bnxt: min_mtu 60, max_mtu 9000
      
      bnx2x: min_mtu 46, max_mtu 9600
      - Fix up ETH_OVREHEAD -> ETH_OVERHEAD while we're in here, remove
        duplicated defines from bnx2x_link.c.
      
      bnx2: min_mtu 46, max_mtu 9000
      - Use more standard ETH_* defines while we're at it.
      
      bcm63xx_enet: min_mtu 46, max_mtu 2028
      - compute_hw_mtu was made largely pointless, and thus merged back into
        bcm_enet_change_mtu.
      
      b44: min_mtu 60, max_mtu 1500
      
      CC: netdev@vger.kernel.org
      CC: Michael Chan <michael.chan@broadcom.com>
      CC: Sony Chacko <sony.chacko@qlogic.com>
      CC: Ariel Elior <ariel.elior@qlogic.com>
      CC: Dept-HSGLinuxNICDev@qlogic.com
      CC: Siva Reddy Kallam <siva.kallam@broadcom.com>
      CC: Prashant Sreedharan <prashant@broadcom.com>
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e1c6dcca
  15. 20 9月, 2016 2 次提交
  16. 02 8月, 2016 1 次提交
  17. 08 1月, 2016 2 次提交
  18. 04 12月, 2015 1 次提交
  19. 21 10月, 2015 1 次提交
  20. 16 10月, 2015 1 次提交
  21. 05 3月, 2015 1 次提交
  22. 11 12月, 2014 1 次提交
  23. 14 5月, 2014 1 次提交
  24. 25 4月, 2014 1 次提交
  25. 14 3月, 2014 1 次提交
  26. 12 9月, 2013 1 次提交
  27. 31 8月, 2013 1 次提交
  28. 30 8月, 2013 1 次提交
  29. 23 8月, 2013 1 次提交