drivers-spi-use-arch_dma_minalign-instead-of-arch_kmalloc_minalign.patch removed from -mm tree
The quilt patch titled
Subject: drivers/spi: use ARCH_DMA_MINALIGN instead of ARCH_KMALLOC_MINALIGN
has been removed from the -mm tree. Its filename was
drivers-spi-use-arch_dma_minalign-instead-of-arch_kmalloc_minalign.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Catalin Marinas <[email protected]>
Subject: drivers/spi: use ARCH_DMA_MINALIGN instead of ARCH_KMALLOC_MINALIGN
Date: Mon, 12 Jun 2023 16:31:52 +0100
ARCH_DMA_MINALIGN represents the minimum (static) alignment for safe DMA operations while ARCH_KMALLOC_MINALIGN is the minimum kmalloc() objects alignment.
---
drivers/spi/spidev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spidev.c renamed from drivers/spi/spidev.c~drivers-spi-use-arch_dma_minalign-instead-of-arch_kmalloc_minalign +1 -1
@@ -237,7 +237,7 @@ static int spidev_message(struct spidev_/* Ensure that also following allocations from rx_buf/tx_buf will meet * DMA alignment requirements. */ -unsigned int len_aligned =ALIGN (u_tmp->len,ARCH_KMALLOC_MINALIGN ); +unsigned int len_aligned =ALIGN (u_tmp->len,ARCH_DMA_MINALIGN ); k_tmp->len = u_tmp->len;
_
Patches currently in -mm which might be from [email protected] are