1. 23 8月, 2019 1 次提交
  2. 16 8月, 2019 2 次提交
  3. 09 8月, 2019 1 次提交
  4. 03 8月, 2019 1 次提交
  5. 27 7月, 2019 1 次提交
  6. 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
  7. 24 7月, 2019 1 次提交
  8. 23 7月, 2019 1 次提交
  9. 22 7月, 2019 1 次提交
  10. 16 7月, 2019 1 次提交
  11. 10 7月, 2019 3 次提交
  12. 04 7月, 2019 2 次提交
  13. 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
  14. 15 6月, 2019 4 次提交
  15. 14 6月, 2019 1 次提交
  16. 05 6月, 2019 1 次提交
  17. 04 6月, 2019 1 次提交
  18. 03 6月, 2019 2 次提交
  19. 31 5月, 2019 1 次提交
  20. 30 5月, 2019 1 次提交
  21. 29 5月, 2019 2 次提交
  22. 27 5月, 2019 8 次提交
  23. 21 5月, 2019 2 次提交