Skip to content
Commit f841ad9c authored by Cyan Yang's avatar Cyan Yang Committed by Andrew Morton
Browse files

selftests/mm/cow: fix the incorrect error handling

Error handling doesn't check the correct return value.  This patch will
fix it.

Link: https://lkml.kernel.org/r/20250312043840.71799-1-cyan.yang@sifive.com


Fixes: f4b5fd69 ("selftests/vm: anon_cow: THP tests")
Signed-off-by: default avatarCyan Yang <cyan.yang@sifive.com>
Reviewed-by: default avatarDev Jain <dev.jain@arm.com>
Reviewed-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 456620c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment