From: Thorsten Blum Date: Mon, 10 Feb 2025 22:42:44 +0000 (+0100) Subject: powerpc/iommu: Use str_disabled_enabled() helper X-Git-Tag: v6.16-rc1~200^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f15e87340afd4f5a35575e112aa4bdb0a138aa26;p=thirdparty%2Fkernel%2Flinux.git powerpc/iommu: Use str_disabled_enabled() helper Remove hard-coded strings by using the str_disabled_enabled() helper. Signed-off-by: Thorsten Blum Signed-off-by: Madhavan Srinivasan Link: https://patch.msgid.link/20250210224246.363318-1-thorsten.blum@linux.dev --- diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index 0ebae6e4c19dd..244eb4857e7f4 100644 --- a/arch/powerpc/kernel/iommu.c +++ b/arch/powerpc/kernel/iommu.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -769,8 +770,8 @@ struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid, iommu_table_clear(tbl); if (!welcomed) { - printk(KERN_INFO "IOMMU table initialized, virtual merging %s\n", - novmerge ? "disabled" : "enabled"); + pr_info("IOMMU table initialized, virtual merging %s\n", + str_disabled_enabled(novmerge)); welcomed = 1; }