summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-designware-slave.c
diff options
context:
space:
mode:
authorLi Yang <leoyang.li@nxp.com>2023-05-19 23:12:49 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-06-12 20:31:48 +0300
commit9368aa1882ac7178adcd936cee5f0899dbf76dc4 (patch)
tree056724d131aea492d462434826384d964f9f4aae /drivers/i2c/busses/i2c-designware-slave.c
parentd38f6bcea88836bfb346a6d567c452065417e2ed (diff)
downloadlinux-9368aa1882ac7178adcd936cee5f0899dbf76dc4.tar.xz
APEI: GHES: correctly return NULL for ghes_get_devices()
Since 315bada690e0 ("EDAC: Check for GHES preference in the chipset-specific EDAC drivers"), vendor specific EDAC driver will not probe correctly when CONFIG_ACPI_APEI_GHES is enabled but no GHES device is present. Make ghes_get_devices() return NULL when the GHES device list is empty to fix the problem. Fixes: 9057a3f7ac36 ("EDAC/ghes: Prepare to make ghes_edac a proper module") Signed-off-by: Li Yang <leoyang.li@nxp.com> Reviewed-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-slave.c')
0 files changed, 0 insertions, 0 deletions