Patch "scsi: dma-mapping: always provide dma_get_cache_alignment" has been added to the 3.18-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
scsi: dma-mapping: always provide dma_get_cache_alignment
to the 3.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
scsi-dma-mapping-always-provide-dma_get_cache_alignment.patch
and it can be found in the queue-3.18 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
860dd4424f344400b491b212ee4acb3a358ba9d9Mon Sep 17 00:00:00 2001
From: Christoph Hellwig <[email protected]>
Date: Tue, 21 Nov 2017 14:23:37 +0100
Subject: scsi: dma-mapping: always provide dma_get_cache_alignment
From: Christoph Hellwig <[email protected]>
commit 860dd4424f344400b491b212ee4acb3a358ba9d9 upstream.
Provide the dummy version of dma_get_cache_alignment that always returns 1 even if CONFIG_HAS_DMA is not set, so that drivers and subsystems can use it without ifdefs.
--- include/linux/dma-mapping.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/dma-mapping.h +0 -2
@@ -181,7 +181,6 @@ static inline void *dma_zalloc_coherent(return ret; } -#ifdef CONFIG_HAS_DMA static inline int dma_get_cache_alignment (void ) {#ifdef ARCH_DMA_MINALIGN
@@ -189,7 +188,6 @@ static inline int dma_get_cache_alignmen#endif return 1 ; } -#endif /* flags for the coherent memory api */ #define DMA_MEMORY_MAP 0x01
Patches currently in stable-queue which might be from [email protected] are
queue-3.18/scsi-use-dma_get_cache_alignment-as-minimum-dma-alignment.patch queue-3.18/scsi-dma-mapping-always-provide-dma_get_cache_alignment.patch