Skip to contentSkip to conversation

alpha-use-str_yes_no-helper-in-pci_dac_dma_supported.patch removed from -mm tree

merged Andrew Morton 1 participant 1 message Feb 16, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: alpha: use str_yes_no() helper in pci_dac_dma_supported()
has been removed from the -mm tree. Its filename was
alpha-use-str_yes_no-helper-in-pci_dac_dma_supported.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Thorsten Blum <[email protected]>
Subject: alpha: use str_yes_no() helper in pci_dac_dma_supported()
Date: Wed, 12 Feb 2025 12:14:47 +0100

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

---

 arch/alpha/kernel/pci_iommu.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/alpha/kernel/pci_iommu.c renamed from arch/alpha/kernel/pci_iommu.c~alpha-use-str_yes_no-helper-in-pci_dac_dma_supported +2 -1
@@ -13,6 +13,7 @@
 #include <linux/log2.h>
 #include <linux/dma-map-ops.h>
 #include <linux/iommu-helper.h>
+#include <linux/string_choices.h>
 
 #include <asm/io.h>
 #include <asm/hwrpb.h>
@@ -212,7 +213,7 @@ static int pci_dac_dma_supported(struct
 
 	/* If both conditions above are met, we are fine. */
 	DBGA("pci_dac_dma_supported %s from %ps\n",
-	     ok ? "yes" : "no", __builtin_return_address(0));
+	     str_yes_no(ok), __builtin_return_address(0));
 
 	return ok;
 }

_

Patches currently in -mm which might be from [email protected] are