kernel: arch: use ENOTSUP instead of ENOSYS in k_float_disable()
This patch replaces ENOSYS into ENOTSUP to keep consistency with the return value specification of k_float_enable(). Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
This commit is contained in:
parent
59903e2934
commit
19db485737
5 changed files with 8 additions and 8 deletions
|
@ -5538,9 +5538,9 @@ __syscall void k_str_out(char *c, size_t n);
|
|||
*
|
||||
* @param thread ID of thread.
|
||||
*
|
||||
* @retval 0 On success.
|
||||
* @retval -ENOSYS If the floating point disabling is not implemented.
|
||||
* -EINVAL If the floating point disabling could not be performed.
|
||||
* @retval 0 On success.
|
||||
* @retval -ENOTSUP If the floating point disabling is not implemented.
|
||||
* -EINVAL If the floating point disabling could not be performed.
|
||||
*/
|
||||
__syscall int k_float_disable(struct k_thread *thread);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue