Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LINUX-STM32MP: fix 'cpuidle-stm32' for CONFIG_CC_OPTIMIZE_FOR_SIZE' #80

Open
wants to merge 1 commit into
base: kirkstone
Choose a base branch
from

Commits on Sep 15, 2024

  1. LINUX-STM32MP: fix 'cpuidle-stm32' for CONFIG_CC_OPTIMIZE_FOR_SIZE'

    WARNING: modpost: vmlinux.o(.exit.text+0x1b24): Section mismatch in reference from the function stm32_cpuidle_driver_exit() to the (unknown reference) .init.data:(unknown)
    | The function __exit stm32_cpuidle_driver_exit() references
    | a (unknown reference) __initdata (unknown).
    | This is often seen when error handling in the exit function
    | uses functionality in the init path.
    | The fix is often to remove the __initdata annotation of
    | (unknown) so it may be used outside an init section.
    |
    | ERROR: modpost: Section mismatches detected.
    ---
    
    Signed-off-by: Adrian DC <[email protected]>
    AdrianDC committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    c5ca020 View commit details
    Browse the repository at this point in the history