aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fpu_impl.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2024-08-28 19:06:58 +0200
committerVasily Gorbik <gor@linux.ibm.com>2024-08-29 22:56:34 +0200
commit5200614080cd7a0fca7424b711cab503dfe6bdca (patch)
tree6364f04eb84a89fad8330075d605710c189faa88 /lib/test_fpu_impl.c
parentefd9cd019e95d399e27be8dfbfc1df91517c0813 (diff)
s390/ftrace: Use get/copy_from_kernel_nofault consistently
Use get/copy_from_kernel_nofault to access the kernel text consistently. Replace memcmp() in ftrace_init_nop() to ensure that in case of inconsistencies in the 'mcount' table, the kernel reports a failure instead of potentially crashing. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'lib/test_fpu_impl.c')
0 files changed, 0 insertions, 0 deletions