Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc: Use str_on_off() helper in check_cache_coherency()

Remove hard-coded strings by using the str_on_off() helper function.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20241220191705.1446-2-thorsten.blum@linux.dev

authored by

Thorsten Blum and committed by
Madhavan Srinivasan
26bef359 eda86a41

+2 -2
+2 -2
arch/powerpc/kernel/setup-common.c
··· 834 834 if (devtree_coherency != KERNEL_COHERENCY) { 835 835 printk(KERN_ERR 836 836 "kernel coherency:%s != device tree_coherency:%s\n", 837 - KERNEL_COHERENCY ? "on" : "off", 838 - devtree_coherency ? "on" : "off"); 837 + str_on_off(KERNEL_COHERENCY), 838 + str_on_off(devtree_coherency)); 839 839 BUG(); 840 840 } 841 841