Re: [PATCH 1/6] selftests/mm: Report errno when things fail

2025-02-20 Thread Dev Jain
On 20/02/25 8:33 pm, Brendan Jackman wrote: Just reporting failure doesn't tell you what went wrong. This can fail in different ways so report errno to help the reader get started debugging. IMHO it would be even better if we reported strerror(errno). Signed-off-by: Brendan Jackman ---

[PATCH 1/6] selftests/mm: Report errno when things fail

2025-02-20 Thread Brendan Jackman
Just reporting failure doesn't tell you what went wrong. This can fail in different ways so report errno to help the reader get started debugging. Signed-off-by: Brendan Jackman --- tools/testing/selftests/mm/gup_longterm.c | 32 +++ 1 file changed, 16 insertions(+),