aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLi Ming <[email protected]>2025-02-27 10:18:48 +0000
committerDave Jiang <[email protected]>2025-03-14 23:27:28 +0000
commit84f8b6e242deb997f2b32b4fc0895e8703704029 (patch)
tree7886a0a7033f507772dcc4f1fd53de4576d800f2 /net/unix/af_unix.c
parentMerge branch 'for-6.15/extended-linear-cache' into cxl-for-next2 (diff)
downloadkernel-84f8b6e242deb997f2b32b4fc0895e8703704029.tar.gz
kernel-84f8b6e242deb997f2b32b4fc0895e8703704029.zip
cxl/mem: Do not return error if CONFIG_CXL_MCE unset
CONFIG_CXL_MCE depends on CONFIG_MEMORY_FAILURE, if CONFIG_CXL_MCE is not set, devm_cxl_register_mce_notifier() will return an -EOPNOTSUPP, it will cause cxl_mem_state_create() failure , and then cxl pci device probing failed. In this case, it should not break cxl pci device probing. Add a checking in cxl_mem_state_create() to check if the returned value of devm_cxl_register_mce_notifier() is -EOPNOTSUPP, if yes, just output a warning log, do not let cxl_mem_state_create() return an error. Signed-off-by: Li Ming <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions