Re: [PATCH] MIPS: traps: Use str_enabled_disabled() in parity_protection_init()

From: Philippe Mathieu-Daudé
Date: Fri Jan 10 2025 - 03:09:24 EST


On 9/1/25 22:55, Thorsten Blum wrote:
Remove hard-coded strings by using the str_enabled_disabled() helper
function.

Use pr_info() instead of printk(KERN_INFO) to silence multiple
checkpatch warnings.

Suggested-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
---
arch/mips/kernel/traps.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>