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

rasdaemon: Fix mem_fail_event build breakage #174

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

Commits on Aug 19, 2024

  1. rasdaemon: Fix mem_fail_event build breakage

    Commit 566a526 ("add mem_fail_event trigger") introduces an event
    trigger for a memory failure event.
    
    However, if the rasdaemon is not configured with enable-memory-failure,
    the setup function of the trigger, mem_fail_event_trigger_setup(), will
    result in an undefined reference linker error when called through
    setup_event_trigger().
    
    Ensure that the setup function for the trigger is called only when the
    rasdaemon has been configured with enable-memory-failure.
    
    Fixes: 566a526 ("add mem_fail_event trigger")
    Signed-off-by: Avadhut Naik <[email protected]>
    Avadhut Naik committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    da0cff3 View commit details
    Browse the repository at this point in the history