Skip to content

[PATCH] rasdaemon: don't emit error syslog when exiting normally #163

Open
@colona

Description

@colona

Creating this issue for tracking purpose as advised in the README.
I submitted a patch to linux-edac@ and Mauro a few weeks ago:
https://lore.kernel.org/linux-edac/20240419212151.GA98667@visor/T/

Date: Fri, 19 Apr 2024 14:21:51 -0700
Message-ID: <20240419212151.GA98667@visor>
Subject: [PATCH] rasdaemon: don't emit error syslog when exiting normally

Tidy up read_ras_event_all_cpus exit path so that it returns 0 when
exiting normally after receiving a signal. It would return -1 and make
the caller emit "Huh! something got wrong. Aborting." in this case.

Also add missing error message for ras_mc_event_opendb and fix the
grammar a bit in the message above.

Fixes: a7b6a0464fba ("rasdaemon: add signal handling for the cleanup")
Signed-off-by: Ivan Delalande <[email protected]>

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions