diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2024-08-28 19:06:58 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-08-29 22:56:34 +0200 |
commit | 5200614080cd7a0fca7424b711cab503dfe6bdca (patch) | |
tree | 6364f04eb84a89fad8330075d605710c189faa88 /lib/test_fpu_impl.c | |
parent | efd9cd019e95d399e27be8dfbfc1df91517c0813 (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