aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorEkansh Gupta <[email protected]>2023-10-13 12:20:05 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-16 18:58:49 +0000
commit206484303892a2a36c0c3414030ddfef658a4e70 (patch)
tree0a1446ebcd02a4ed8ed1c7d37f8889ce3d6f9242 /drivers/fpga/tests/fpga-mgr-test.c
parentmisc: fastrpc: Reset metadata buffer to avoid incorrect free (diff)
downloadkernel-206484303892a2a36c0c3414030ddfef658a4e70.tar.gz
kernel-206484303892a2a36c0c3414030ddfef658a4e70.zip
misc: fastrpc: Free DMA handles for RPC calls with no arguments
The FDs for DMA handles to be freed is updated in fdlist by DSP over a remote call. This holds true even for remote calls with no arguments. To handle this, get_args and put_args are needed to be called for remote calls with no arguments also as fdlist is allocated in get_args and FDs updated in fdlist is freed in put_args. Fixes: 8f6c1d8c4f0c ("misc: fastrpc: Add fdlist implementation") Cc: stable <[email protected]> Signed-off-by: Ekansh Gupta <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions