Re: [PATCH 16/29] selftests/mm: UFFDIO_API test
From: Peter Xu
Date: Wed Apr 05 2023 - 12:22:57 EST
On Thu, Mar 30, 2023 at 12:07:52PM -0400, Peter Xu wrote:
> +int uffd_open(unsigned int flags)
> +{
> + int uffd = uffd_open_sys(flags);
> +
> + if (uffd < 0)
> + uffd = uffd_open_dev(flags);
> +
> + return uffd;
> +}
A (benign) accident when rebasing here.. I'll move this function into
"selftests/mm: Add framework for uffd-unit-test" which is its first usage.
--
Peter Xu