Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eal/windows: fix error code for not supported API
[ upstream commit 7e71c4d ] UT memory_autotest on Windows has 2 failed cases on EAL APIs eal_memalloc_get_seg_fd and eal_memalloc_get_seg_fd_offset. These 2 APIs are not supported on Windows yet. Should return ENOTSUP such that in test_memory.c these 2 ENOTSUP cases will not be marked as failures, same as other ENOTSUP cases. Fixes: 2a5d547 ("eal/windows: implement basic memory management") Signed-off-by: Jie Zhou <jizh@linux.microsoft.com> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
- Loading branch information