aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2020-07-22 15:53:15 +1000
committerMichael Ellerman <[email protected]>2020-07-23 17:43:36 +1000
commit8ac9b9d61f0eceba6ce571e7527798465ae9a7c5 (patch)
tree36d4e852178add5d0a4d64a03c849b6cfdc9c088 /arch/powerpc/kernel/cputable.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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
0 files changed, 0 insertions, 0 deletions