summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2023-02-10 10:06:33 +0100
committerDan Williams <dan.j.williams@intel.com>2023-02-11 02:32:50 +0100
commit32ce3f185bbb3802cd0ac925bc8fddf1797e0ad4 (patch)
tree9b3f06385f79b252097213206bd636ece7fbd601 /samples
parentcxl/region: Enable CONFIG_CXL_REGION to be toggled (diff)
downloadlinux-32ce3f185bbb3802cd0ac925bc8fddf1797e0ad4.tar.xz
linux-32ce3f185bbb3802cd0ac925bc8fddf1797e0ad4.zip
cxl/port: Split endpoint and switch port probe
Jonathan points out that the shared code between the switch and endpoint case is small. Before adding another is_cxl_endpoint() conditional, just split the two cases. Rather than duplicate the "Couldn't enumerate decoders" error message take the opportunity to improve the error messages in devm_cxl_enumerate_decoders(). Reported-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com> Reviewed-by: Vishal Verma <vishal.l.verma@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/167601999378.1924368.15071142145866277623.stgit@dwillia2-xfh.jf.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions