-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENOSYS has ambiguous meaning. #11207
Comments
In linux kernel's context from where torvalds/linux@e15f431 But grepping through Zephyr sources:
So, I believe |
Note that this doesn't correspond to how "driver multiplexor APIs" (spi, i2c, etc.) currently work. If that is to be changed, it should be changed consistently for all APIs. (Low priority IMHO considering all other tasks we have.) |
The issue has been addressed by #33887. I believe we can close it. |
In the errno.h file, we can find:
While checkpatch gives following information:
i.e. I wanted to use it in the following way:
Where
-ENOSYS If driver has not implemented this function
-ENOTSUP If device does not support given configuration.
Which information if true? errno.h file or checkpatch?
The text was updated successfully, but these errors were encountered: