1. 06 10月, 2018 1 次提交
  2. 04 10月, 2018 1 次提交
  3. 03 10月, 2018 2 次提交
    • N
      cxgb4: Use proper enum in IEEE_FAUX_SYNC · 258b6d14
      Nathan Chancellor 提交于
      Clang warns when one enumerated type is implicitly converted to another.
      
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c:390:4: warning: implicit
      conversion from enumeration type 'enum cxgb4_dcb_state' to different
      enumeration type 'enum cxgb4_dcb_state_input' [-Wenum-conversion]
                              IEEE_FAUX_SYNC(dev, dcb);
                              ^~~~~~~~~~~~~~~~~~~~~~~~
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h:70:10: note: expanded
      from macro 'IEEE_FAUX_SYNC'
                                                  CXGB4_DCB_STATE_FW_ALLSYNCED);
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Use the equivalent value of the expected type to silence Clang while
      resulting in no functional change.
      
      CXGB4_DCB_STATE_FW_ALLSYNCED = CXGB4_DCB_INPUT_FW_ALLSYNCED = 3
      Signed-off-by: NNathan Chancellor <natechancellor@gmail.com>
      Reviewed-by: NNick Desaulniers <ndesaulniers@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      258b6d14
    • N
      cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update · 3b0b8f0d
      Nathan Chancellor 提交于
      Clang warns when one enumerated type is implicitly converted to another.
      
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c:303:7: warning: implicit
      conversion from enumeration type 'enum cxgb4_dcb_state' to different
      enumeration type 'enum cxgb4_dcb_state_input' [-Wenum-conversion]
                               ? CXGB4_DCB_STATE_FW_ALLSYNCED
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c:304:7: warning: implicit
      conversion from enumeration type 'enum cxgb4_dcb_state' to different
      enumeration type 'enum cxgb4_dcb_state_input' [-Wenum-conversion]
                               : CXGB4_DCB_STATE_FW_INCOMPLETE);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2 warnings generated.
      
      Use the equivalent value of the expected type to silence Clang while
      resulting in no functional change.
      
      CXGB4_DCB_STATE_FW_INCOMPLETE = CXGB4_DCB_INPUT_FW_INCOMPLETE = 2
      CXGB4_DCB_STATE_FW_ALLSYNCED = CXGB4_DCB_INPUT_FW_ALLSYNCED = 3
      Signed-off-by: NNathan Chancellor <natechancellor@gmail.com>
      Reviewed-by: NNick Desaulniers <ndesaulniers@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b0b8f0d
  4. 18 9月, 2018 1 次提交
  5. 14 9月, 2018 3 次提交
  6. 11 9月, 2018 2 次提交
  7. 08 9月, 2018 1 次提交
  8. 04 9月, 2018 2 次提交
  9. 22 8月, 2018 1 次提交
  10. 15 8月, 2018 1 次提交
  11. 14 8月, 2018 1 次提交
  12. 11 8月, 2018 1 次提交
  13. 10 8月, 2018 1 次提交
  14. 08 8月, 2018 3 次提交
  15. 02 8月, 2018 1 次提交
  16. 01 8月, 2018 1 次提交
  17. 28 7月, 2018 1 次提交
  18. 26 7月, 2018 1 次提交
  19. 25 7月, 2018 2 次提交
  20. 19 7月, 2018 1 次提交
  21. 17 7月, 2018 2 次提交
  22. 12 7月, 2018 3 次提交
  23. 10 7月, 2018 2 次提交
  24. 07 7月, 2018 1 次提交
  25. 05 7月, 2018 2 次提交
  26. 29 6月, 2018 2 次提交