All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] alpha-use-str_yes_no-helper-in-pci_dac_dma_supported.patch removed from -mm tree
@ 2025-02-16 20:17 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-02-16 20:17 UTC (permalink / raw)
  To: mm-commits, surenb, rppt, richard.henderson, mattst88,
	guoweikang.kernel, geert, agordeev, thorsten.blum, akpm


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 <thorsten.blum@linux.dev>
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.

Link: https://lkml.kernel.org/r/20250212111449.3675-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: guoweikang <guoweikang.kernel@gmail.com>
Cc: Matt Turner <mattst88@gmail.com>
Cc: "Mike Rapoport (IBM)" <rppt@kernel.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/alpha/kernel/pci_iommu.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/arch/alpha/kernel/pci_iommu.c~alpha-use-str_yes_no-helper-in-pci_dac_dma_supported
+++ a/arch/alpha/kernel/pci_iommu.c
@@ -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 thorsten.blum@linux.dev are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-16 20:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-16 20:17 [merged] alpha-use-str_yes_no-helper-in-pci_dac_dma_supported.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.