1. 25 8月, 2017 3 次提交
  2. 24 8月, 2017 3 次提交
  3. 10 8月, 2017 1 次提交
  4. 02 8月, 2017 1 次提交
  5. 01 8月, 2017 1 次提交
  6. 16 7月, 2017 4 次提交
  7. 15 7月, 2017 1 次提交
    • A
      bnx2x: fix format overflow warning · be9cdf1b
      Arnd Bergmann 提交于
      gcc notices that large queue numbers would overflow the queue name
      string:
      
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c: In function 'bnx2x_get_strings':
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3165:25: error: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Werror=format-overflow=]
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3165:25: note: directive argument in the range [0, 2147483647]
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3165:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 5
      
      There is a hard limit in place that makes the number at most two
      digits, so the code is fine. This changes it to use snprintf()
      to truncate instead of overflowing, which shuts up that warning.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      be9cdf1b
  8. 14 7月, 2017 1 次提交
  9. 12 7月, 2017 3 次提交
  10. 25 6月, 2017 1 次提交
  11. 24 6月, 2017 3 次提交
  12. 16 6月, 2017 2 次提交
  13. 14 6月, 2017 2 次提交
  14. 11 6月, 2017 2 次提交
  15. 08 6月, 2017 2 次提交
  16. 02 6月, 2017 2 次提交
  17. 31 5月, 2017 8 次提交