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

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

Open
colona opened this issue May 14, 2024 · 0 comments
Open

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

colona opened this issue May 14, 2024 · 0 comments

Comments

@colona
Copy link

colona commented May 14, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant