summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-07-18 02:25:14 +0300
committerKees Cook <kees@kernel.org>2025-07-22 07:42:49 +0300
commitd01daf9d95c9918bd11f990e807517f214a83ea2 (patch)
treef06688e0dc82332c6155abf5bbaf06a335d35e0b /lib/crypto/mpi/mpi-sub-ui.c
parent645d1b666498ef0d2c44c434a609b5560e9dc401 (diff)
downloadlinux-d01daf9d95c9918bd11f990e807517f214a83ea2.tar.xz
mips: Handle KCOV __init vs inline mismatch
When KCOV is enabled all functions get instrumented, unless the __no_sanitize_coverage attribute is used. To prepare for __no_sanitize_coverage being applied to __init functions, we have to handle differences in how GCC's inline optimizations get resolved. For mips this requires adding the __init annotation on init_mips_clocksource(). Reviewed-by: Huacai Chen <chenhuacai@loongson.cn> Link: https://lore.kernel.org/r/20250717232519.2984886-9-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions