Kinsey Moore created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5391
## Summary Currently, the flashdev API will return 0 (success) if an IOCTL call is not implemented in the backend. This can cause the caller to use uninitialized values as if they were good data. The API should instead place ENOSYS (function not implemented) in `errno` with a return value of `-1`. This was discovered by trying to use a flashdev backend (xqspi) that didn't support the newer sector commands with the flashdev shell commands and the JFFS2 flashdev adapter. <!-- Pre-set options - milestone --> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5391 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
