aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
authorMark Brown <broonie@kernel.org>2026-05-29 23:00:24 +0100
committerMark Brown <broonie@kernel.org>2026-05-29 23:00:24 +0100
commitffc4db0244867d349d1f62258b36885e4ef6155c (patch)
treeb181ab2237a4858cba17a260237a2b32f008ea72 /mm
parentfe76aa9c9953f37a849568bbe94e47a5f1d43b65 (diff)
parent016267b521b18529c977c9eca9597a1669c3d73c (diff)
downloadlinux-next-history-ffc4db0244867d349d1f62258b36885e4ef6155c.tar.gz
Merge branch 'driver-core-next' of https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
Diffstat (limited to 'mm')
-rw-r--r--mm/hmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hmm.c b/mm/hmm.c
index 5955f2f0c83db..c72c9ddfdb2f6 100644
--- a/mm/hmm.c
+++ b/mm/hmm.c
@@ -709,7 +709,7 @@ int hmm_dma_map_alloc(struct device *dev, struct hmm_dma_map *map,
* best approximation to ensure no swiotlb buffering happens.
*/
#ifdef CONFIG_DMA_NEED_SYNC
- dma_need_sync = !dev->dma_skip_sync;
+ dma_need_sync = !dev_dma_skip_sync(dev);
#endif /* CONFIG_DMA_NEED_SYNC */
if (dma_need_sync || dma_addressing_limited(dev))
return -EOPNOTSUPP;