android_kernel_motorola_sm6375/drivers/ntb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Markus Elfring 2414095a8c ntb_perf: Delete duplicate dmaengine_unmap_put() call in perf_copy_chunk()
commit 4279e72cab31dd3eb8c89591eb9d2affa90ab6aa upstream.

The function call “dmaengine_unmap_put(unmap)” was used in an if branch.
The same call was immediately triggered by a subsequent goto statement.
Thus avoid such a call repetition.

This issue was detected by using the Coccinelle software.

Fixes: 5648e56d03 ("NTB: ntb_perf: Add full multi-port NTB API support")
Cc: stable@vger.kernel.org
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-10 14:29:43 +02:00
..
hw ntb: intel: Fix using link status DB's 2025-04-10 14:29:42 +02:00
test ntb_perf: Delete duplicate dmaengine_unmap_put() call in perf_copy_chunk() 2025-04-10 14:29:43 +02:00
core.c
Kconfig
Makefile
msi.c
ntb_transport.c ntb: Fix calculation ntb_transport_tx_free_entry() 2023-09-23 10:59:55 +02:00