mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
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
This commit is contained in:
parent
eda86a41a1
commit
26bef359bc
|
|
@ -834,8 +834,8 @@ static int __init check_cache_coherency(void)
|
|||
if (devtree_coherency != KERNEL_COHERENCY) {
|
||||
printk(KERN_ERR
|
||||
"kernel coherency:%s != device tree_coherency:%s\n",
|
||||
KERNEL_COHERENCY ? "on" : "off",
|
||||
devtree_coherency ? "on" : "off");
|
||||
str_on_off(KERNEL_COHERENCY),
|
||||
str_on_off(devtree_coherency));
|
||||
BUG();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user