1. 01 Aug, 2022 3 commits
    • Hans de Goede's avatar
      platform/x86/intel/vsec: Fix wrong type for local status variables · 3d46d784
      Hans de Goede authored
      The local status variables in intel_vsec_pci_error_detected()
      and intel_vsec_pci_slot_reset() should have pci_ers_result_t as type
      (and not pci_channel_state_t).
      
      Also fix a whitespace error as well as intel_vsec_pci_err_handlers not
      being marked static.
      
      This fixes the following sparse errors:
      
      drivers/platform/x86/intel/vsec.c:429:38: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted pci_channel_state_t [usertype] status @@     got restricted pci_ers_result_t @@
      drivers/platform/x86/intel/vsec.c:429:38: sparse:     expected restricted pci_channel_state_t [usertype] status
      drivers/platform/x86/intel/vsec.c:429:38: sparse:     got restricted pci_ers_result_t
      drivers/platform/x86/intel/vsec.c:434:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted pci_channel_state_t [usertype] status @@     got restricted pci_ers_result_t @@
      drivers/platform/x86/intel/vsec.c:434:24: sparse:     expected restricted pci_channel_state_t [usertype] status
      drivers/platform/x86/intel/vsec.c:434:24: sparse:     got restricted pci_ers_result_t
      drivers/platform/x86/intel/vsec.c:438:16: sparse: sparse: incorrect type in return expression (different base types) @@     expected restricted pci_ers_result_t @@     got restricted pci_channel_state_t [usertype] status @@
      drivers/platform/x86/intel/vsec.c:438:16: sparse:     expected restricted pci_ers_result_t
      drivers/platform/x86/intel/vsec.c:438:16: sparse:     got restricted pci_channel_state_t [usertype] status
      drivers/platform/x86/intel/vsec.c:444:38: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted pci_channel_state_t [usertype] status @@     got restricted pci_ers_result_t @@
      drivers/platform/x86/intel/vsec.c:444:38: sparse:     expected restricted pci_channel_state_t [usertype] status
      drivers/platform/x86/intel/vsec.c:444:38: sparse:     got restricted pci_ers_result_t
      drivers/platform/x86/intel/vsec.c:457:16: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted pci_channel_state_t [usertype] status @@     got restricted pci_ers_result_t @@
      drivers/platform/x86/intel/vsec.c:457:16: sparse:     expected restricted pci_channel_state_t [usertype] status
      drivers/platform/x86/intel/vsec.c:457:16: sparse:     got restricted pci_ers_result_t
      drivers/platform/x86/intel/vsec.c:472:16: sparse: sparse: incorrect type in return expression (different base types) @@     expected restricted pci_ers_result_t @@     got restricted pci_channel_state_t [usertype] status @@
      drivers/platform/x86/intel/vsec.c:472:16: sparse:     expected restricted pci_ers_result_t
      drivers/platform/x86/intel/vsec.c:472:16: sparse:     got restricted pci_channel_state_t [usertype] status
      drivers/platform/x86/intel/vsec.c:480:33: sparse: sparse: symbol 'intel_vsec_pci_err_handlers' was not declared. Should it be static?
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
      Cc: David E Box <david.e.box@intel.com>
      Cc: Gayatri Kammela <gayatri.kammela@linux.intel.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://lore.kernel.org/r/20220801145536.172410-1-hdegoede@redhat.com
      3d46d784
    • Andy Shevchenko's avatar
      platform/x86: p2sb: Move out of X86_PLATFORM_DEVICES dependency · 42d0d423
      Andy Shevchenko authored
      The P2SB library is used for various drivers, including server
      platforms. That's why the dependency on X86_PLATFORM_DEVICES
      seems superfluous.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://lore.kernel.org/r/20220718145328.14374-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      42d0d423
    • Hans de Goede's avatar
      Merge tag 'ib-mfd-edac-i2c-leds-pinctrl-platform-watchdog-v5.20' into review-hans · 8906ced9
      Hans de Goede authored
      Immutable branch between MFD, EDAC, I2C, LEDs, PinCtrl, Platform and Watchdog due for the v5.20 merge window
      8906ced9
  2. 28 Jul, 2022 8 commits
  3. 17 Jul, 2022 1 commit
  4. 14 Jul, 2022 24 commits
  5. 10 Jul, 2022 4 commits