1. 27 1月, 2020 13 次提交
  2. 10 12月, 2019 1 次提交
  3. 31 10月, 2019 2 次提交
  4. 29 10月, 2019 1 次提交
  5. 16 9月, 2019 1 次提交
  6. 11 9月, 2019 2 次提交
  7. 05 9月, 2019 1 次提交
  8. 01 9月, 2019 2 次提交
  9. 23 8月, 2019 1 次提交
  10. 16 8月, 2019 2 次提交
  11. 09 8月, 2019 1 次提交
  12. 03 8月, 2019 1 次提交
  13. 27 7月, 2019 1 次提交
  14. 26 7月, 2019 1 次提交
  15. 25 7月, 2019 1 次提交
    • A
      qed: reduce maximum stack frame size · 7c116e02
      Arnd Bergmann 提交于
      clang warns about an overly large stack frame in one function
      when it decides to inline all __qed_get_vport_*() functions into
      __qed_get_vport_stats():
      
      drivers/net/ethernet/qlogic/qed/qed_l2.c:1889:13: error: stack frame size of 1128 bytes in function '_qed_get_vport_stats' [-Werror,-Wframe-larger-than=]
      
      Use a noinline_for_stack annotation to prevent clang from inlining
      these, which keeps the maximum stack usage at around half of that
      in the worst case, similar to what we get with gcc.
      
      Fixes: 86622ee7 ("qed: Move statistics to L2 code")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7c116e02
  16. 22 7月, 2019 1 次提交
  17. 04 7月, 2019 1 次提交
  18. 19 6月, 2019 1 次提交
    • A
      qed: Fix -Wmaybe-uninitialized false positive · 815deee0
      Arnd Bergmann 提交于
      A previous attempt to shut up the uninitialized variable use
      warning was apparently insufficient. When CONFIG_PROFILE_ANNOTATED_BRANCHES
      is set, gcc-8 still warns, because the unlikely() check in DP_NOTICE()
      causes it to no longer track the state of all variables correctly:
      
      drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_llh_set_ppfid_affinity':
      drivers/net/ethernet/qlogic/qed/qed_dev.c:798:47: error: 'abs_ppfid' may be used uninitialized in this function [-Werror=maybe-uninitialized]
        addr = NIG_REG_PPF_TO_ENGINE_SEL + abs_ppfid * 0x4;
                                           ~~~~~~~~~~^~~~~
      
      This is not a nice workaround, but always initializing the output from
      qed_llh_abs_ppfid() at least shuts up the false positive reliably.
      
      Fixes: 79284ade ("qed: Add llh ppfid interface and 100g support for offload protocols")
      Fixes: 8e2ea3ea ("qed: Fix static checker warning")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      815deee0
  19. 15 6月, 2019 4 次提交
  20. 05 6月, 2019 1 次提交
  21. 03 6月, 2019 1 次提交