You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will need to make sure that no Error with out of
range error code can be constructed.
This commit
1. Add errno check in from_kernel_errno()
2. Provides a unchecked version from_kernel_errno_unchecked()
And when an invalid errno is found, it will
1) Print a warning.
2) Convert it to EINVAL.
Signed-off-by: Fox Chen <[email protected]>
0 commit comments