Skip to content

optee-utee, optee-teec: preserve raw code in ErrorKind::Unknown - #320

Merged
ivila merged 1 commit into
apache:mainfrom
ivila:opt/error_kind_num_enum
Sep 11, 2026
Merged

ivila merged 1 commit into
apache:mainfrom
ivila:opt/error_kind_num_enum

Conversation

@ivila

@ivila ivila commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Turn ErrorKind::Unknown into a num_enum catch-all holding the raw u32, so unrecognized codes round-trip through from_raw_error and raw_code instead of collapsing to a single discriminant.

@ivila ivila added the refactor label Sep 11, 2026
Turn ErrorKind::Unknown into a num_enum catch-all holding the
raw u32, so unrecognized codes round-trip through from_raw_error
and raw_code instead of collapsing to a single discriminant.
@ivila
ivila force-pushed the opt/error_kind_num_enum branch from 33dd045 to c05b676 Compare September 11, 2026 11:32
@ivila
ivila merged commit de53989 into apache:main Sep 11, 2026
18 checks passed
@ivila
ivila deleted the opt/error_kind_num_enum branch September 21, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant