[PATCH v2] selftests/mm/cow: Fix the incorrect error handling

2025-03-11 Thread Cyan Yang
There is an error handling did not check the correct return value. This patch will fix it. Fixes: f4b5fd6946e244cdedc3bbb9a1f24c8133b2077a ("selftests/vm: anon_cow: THP tests") Signed-off-by: Cyan Yang --- tools/testing/selftests/mm/cow.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH] selftests/mm/cow: Fix the incorrect error handling

2025-03-11 Thread Cyan Yang
On Tue, Mar 11, 2025 at 10:19:32AM +0100, David Hildenbrand wrote: > On 11.03.25 03:37, Cyan Yang wrote: > > There are two error handlings did not check the correct return value. > > This patch will fix them. > > > > Fixes: f4b5fd6946e244cdedc3bbb9a1f24c8133b207

[PATCH] selftests/mm/cow: Fix the incorrect error handling

2025-03-10 Thread Cyan Yang
There are two error handlings did not check the correct return value. This patch will fix them. Fixes: f4b5fd6946e244cdedc3bbb9a1f24c8133b2077a ("selftests/vm: anon_cow: THP tests") Signed-off-by: Cyan Yang --- tools/testing/selftests/mm/cow.c | 4 ++-- 1 file changed, 2 insert