Skip to content
Commit 8ac9b9d6 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

selftests/powerpc: Add test of memcmp at end of page



Update our memcmp selftest, to test the case where we're comparing up
to the end of a page and the subsequent page is not mapped. We have to
make sure we don't read off the end of the page and cause a fault.

We had a bug there in the past, fixed in commit
d9470757 ("powerpc/64: Fix memcmp reading past the end of src/dest").

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722055315.962391-1-mpe@ellerman.id.au
parent 5c92fb1b
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