summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJianyun Gao <jianyungao89@gmail.com>2026-10-12 23:18:57 +0800
committerAlison Schofield <alison.schofield@intel.com>2026-10-15 16:55:00 -0700
commit4da700e2cadf84a6e858391d5be51d64dcba080f (patch)
tree9408e817814268a6fb782faf62ae250e9791698c /tools/lib/python/kdoc/python_version.py
parentc0962f508e80d73aab8406b716496d40eb4bfc14 (diff)
dax: Return errors from dax_core_init()
dax_core_init() returns success when either the character device number allocation or DAX bus registration fails, even though the error paths have already released the initialized resources. For modular DAX, this allows the module to remain loaded despite failed initialization, leaving subsequent users and module removal to access resources that have already been released. Return the error code from the failed operation so that module loading fails rather than reporting successful initialization after the resources have been released. Fixes: 9567da0b408a ("device-dax: Introduce bus + driver model") Cc: stable@vger.kernel.org Signed-off-by: Jianyun Gao <jianyungao89@gmail.com> Reviewed-by: Gregory Price (Meta) <gourry@gourry.net> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://patch.msgid.link/20261012151857.22534-1-jianyungao89@gmail.com Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions