Re: [LTP] [PATCH v2 2/5] syscalls: Add epoll_wait13

Andrea Cervesato via ltp <[email protected]> Thu, 30 Jul 2026 11:10:24 +0000
Newsgroups it.linux.lists.ltp
Message-ID <[email protected]>
>		if (fds[i][0] > 0) {
>			  SAFE_CLOSE(fds[i][0]);
>			  SAFE_CLOSE(fds[i][1]);
>		}

It's worth to change the statement to check for fd != -1.
Otherwise:

Reviewed-by: Andrea Cervesato <[email protected]>

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp