summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/sstep.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-07-22 15:53:15 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-23 17:43:36 +1000
commit8ac9b9d61f0eceba6ce571e7527798465ae9a7c5 (patch)
tree36d4e852178add5d0a4d64a03c849b6cfdc9c088 /arch/powerpc/lib/sstep.c
parent5c92fb1b46102e1efe0eed69e743f711bc1c7d2e (diff)
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 d9470757398a ("powerpc/64: Fix memcmp reading past the end of src/dest"). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200722055315.962391-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/lib/sstep.c')
0 files changed, 0 insertions, 0 deletions