1. 21 11月, 2018 1 次提交
  2. 18 11月, 2018 1 次提交
  3. 16 11月, 2018 1 次提交
  4. 10 11月, 2018 1 次提交
  5. 09 11月, 2018 1 次提交
  6. 19 10月, 2018 1 次提交
  7. 17 10月, 2018 1 次提交
  8. 12 10月, 2018 1 次提交
    • A
      cxgb4: fix thermal configuration dependencies · e70a57fa
      Arnd Bergmann 提交于
      With CONFIG_THERMAL=m, we get a build error:
      
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c: In function 'cxgb4_thermal_get_trip_type':
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c:48:11: error: 'struct adapter' has no member named 'ch_thermal'
      
      Once that is fixed by using IS_ENABLED() checks, we get a link error
      against the thermal subsystem when cxgb4 is built-in:
      
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.o: In function `cxgb4_thermal_init':
      cxgb4_thermal.c:(.text+0x180): undefined reference to `thermal_zone_device_register'
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.o: In function `cxgb4_thermal_remove':
      cxgb4_thermal.c:(.text+0x1e0): undefined reference to `thermal_zone_device_unregister'
      
      Finally, since CONFIG_THERMAL can be =m, the Makefile fails to pick up the
      extra file into built-in.a, and we get another link failure against the
      cxgb4_thermal_init/cxgb4_thermal_remove files, so the Makefile has to
      be adapted as well to work for both CONFIG_THERMAL=y and =m.
      
      Fixes: b1871915 ("cxgb4: Add thermal zone support")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e70a57fa
  9. 10 10月, 2018 1 次提交
  10. 06 10月, 2018 1 次提交
  11. 04 10月, 2018 1 次提交
  12. 03 10月, 2018 3 次提交
    • 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
    • O
      PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls · 62b36c3e
      Oza Pawandeep 提交于
      After bfcb79fc ("PCI/ERR: Run error recovery callbacks for all affected
      devices"), AER errors are always cleared by the PCI core and drivers don't
      need to do it themselves.
      
      Remove calls to pci_cleanup_aer_uncorrect_error_status() from device
      driver error recovery functions.
      Signed-off-by: NOza Pawandeep <poza@codeaurora.org>
      [bhelgaas: changelog, remove PCI core changes, remove unused variables]
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      62b36c3e
  13. 18 9月, 2018 1 次提交
  14. 14 9月, 2018 3 次提交
  15. 11 9月, 2018 2 次提交
  16. 08 9月, 2018 1 次提交
  17. 04 9月, 2018 2 次提交
  18. 22 8月, 2018 1 次提交
  19. 15 8月, 2018 1 次提交
  20. 14 8月, 2018 1 次提交
  21. 11 8月, 2018 1 次提交
  22. 10 8月, 2018 1 次提交
  23. 08 8月, 2018 3 次提交
  24. 02 8月, 2018 1 次提交
  25. 01 8月, 2018 1 次提交
  26. 28 7月, 2018 1 次提交
  27. 26 7月, 2018 1 次提交
  28. 25 7月, 2018 2 次提交
  29. 19 7月, 2018 1 次提交
  30. 17 7月, 2018 2 次提交