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

2025-03-11 Thread David Hildenbrand
On 11.03.25 11:38, Cyan Yang wrote: 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: f4b5fd6946e244cdedc3bbb9a1f24c8133b2077a ("selftests

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

2025-03-11 Thread David Hildenbrand
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: f4b5fd6946e244cdedc3bbb9a1f24c8133b2077a ("selftests/vm: anon_cow: THP tests") Signed-off-by: Cyan Yang --- tools/testing/selftests/mm/cow.c | 4 ++-- 1

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: f4b5fd6946e244cdedc3bbb9a1f24c8133b2077a ("selftests/vm: anon_cow: > > TH

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

2025-03-10 Thread Dev Jain
On 11/03/25 8:07 am, Cyan Yang wrote: 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 ++-

[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 insertions(+), 2 deleti