aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2025-07-17 23:25:10 +0000
committerKees Cook <[email protected]>2025-07-22 04:43:39 +0000
commit2424fe1cac4fc8ea0520ba22ede7544c3ddc8dd1 (patch)
treec019b4ea785f75f63c2bab61a0f37f8497b21097 /drivers/pwm/pwm-stm32.c
parentmips: Handle KCOV __init vs inline mismatch (diff)
downloadkernel-2424fe1cac4fc8ea0520ba22ede7544c3ddc8dd1.tar.gz
kernel-2424fe1cac4fc8ea0520ba22ede7544c3ddc8dd1.zip
arm: Handle KCOV __init vs inline mismatches
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 arm this exposed several places where __init annotations were missing but ended up being "accidentally correct". Fix these cases and force several functions to be inline with __always_inline. Acked-by: Nishanth Menon <[email protected]> Acked-by: Lee Jones <[email protected]> Reviewed-by: Nishanth Menon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions