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

From: Thomas Bogendoerfer
Date: Sat Jan 11 2025 - 07:18:47 EST


On Thu, Jan 09, 2025 at 10:55:23PM +0100, 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(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]