summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid E. Box <david.e.box@linux.intel.com>2026-03-13 04:51:44 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-03-17 19:51:17 +0300
commita6ce8bf3c993d8c2e8a6aeb2596429c101fe4462 (patch)
tree1e1b8c546de86cc511f88de39fd9d87f6f678c3a /include
parent353042d54d82f6c46449f0ee38c244b5a13c1fe4 (diff)
downloadlinux-a6ce8bf3c993d8c2e8a6aeb2596429c101fe4462.tar.xz
platform/x86/intel/vsec: Return real error codes from registration path
Stop collapsing registration results into booleans. Make intel_vsec_walk_header() return int and propagate the first non-zero error from intel_vsec_register_device(). intel_vsec_register() now returns that error directly and 0 on success. This preserves success behavior while surfacing meaningful errors instead of hiding them behind a bool/-ENODEV, which makes debugging and probe ordering issues clearer. Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: David E. Box <david.e.box@linux.intel.com> Link: https://patch.msgid.link/20260313015202.3660072-6-david.e.box@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions