Re: [RESEND PATCH] EDAC: Use string choice helper functions

From: Borislav Petkov
Date: Wed Feb 26 2025 - 05:02:38 EST


On Sun, Feb 23, 2025 at 10:24:29PM +0100, Thorsten Blum wrote:
> Remove hard-coded strings by using the str_enabled_disabled(),
> str_yes_no(), str_write_read(), and str_plural() helper functions.
>
> Add a space in "All DIMMs support ECC: yes/no" to improve readability.
>
> Reviewed-by: Yazen Ghannam <yazen.ghannam@xxxxxxx>
> Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> drivers/edac/amd64_edac.c | 47 +++++++++++++++++++--------------------
> drivers/edac/debugfs.c | 5 ++++-
> drivers/edac/i5400_edac.c | 3 ++-
> drivers/edac/i7300_edac.c | 7 +++---
> drivers/edac/xgene_edac.c | 17 +++++++-------
> 5 files changed, 42 insertions(+), 37 deletions(-)

Applied, thanks.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette