aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorThomas Fourier <[email protected]>2025-07-01 11:34:52 +0000
committerGreg Kroah-Hartman <[email protected]>2025-07-09 11:43:02 +0000
commit6c0e9f05c9d7875995b0e92ace71be947f280bbd (patch)
treef78e4a29cc417932b0c92d5b1ce8fb6b0e1631c6 /fs/btrfs/dev-replace.c
parentserial: core: fix OF node leak (diff)
downloadkernel-6c0e9f05c9d7875995b0e92ace71be947f280bbd.tar.gz
kernel-6c0e9f05c9d7875995b0e92ace71be947f280bbd.zip
pch_uart: Fix dma_sync_sg_for_device() nents value
The dma_sync_sg_for_device() functions should be called with the same nents as the dma_map_sg(), not the value the map function returned according to the documentation in Documentation/core-api/dma-api.rst:450: With the sync_sg API, all the parameters must be the same as those passed into the sg mapping API. Fixes: da3564ee027e ("pch_uart: add multi-scatter processing") Cc: stable <[email protected]> Signed-off-by: Thomas Fourier <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions