summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/pcf50633-gpio.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2023-04-14 11:53:55 -0700
committerDan Williams <dan.j.williams@intel.com>2023-04-18 10:32:46 -0700
commit7701c8bef4f14bd9f7940c6ed0e6a73584115a96 (patch)
tree6e6691506cba8aff5ac9f773ac99355499e3815d /drivers/mfd/pcf50633-gpio.c
parent09a9639e56c01c7a00d6c0ca63f4c7c41abe075d (diff)
downloadlinux-stable-7701c8bef4f14bd9f7940c6ed0e6a73584115a96.tar.gz
linux-stable-7701c8bef4f14bd9f7940c6ed0e6a73584115a96.tar.bz2
linux-stable-7701c8bef4f14bd9f7940c6ed0e6a73584115a96.zip
cxl/hdm: Fail upon detecting 0-sized decoders
Decoders committed with 0-size lead to later crashes on shutdown as __cxl_dpa_release() assumes a 'struct resource' has been established in the in 'cxlds->dpa_res'. Just fail the driver load in this instance since there are deeper problems with the enumeration or the setup when this happens. Fixes: 9c57cde0dcbd ("cxl/hdm: Enumerate allocated DPA") Cc: <stable@vger.kernel.org> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://lore.kernel.org/r/168149843516.792294.11872242648319572632.stgit@dwillia2-xfh.jf.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/mfd/pcf50633-gpio.c')
0 files changed, 0 insertions, 0 deletions