diff options
| author | Dan Carpenter <[email protected]> | 2022-11-29 09:45:16 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-20 12:22:11 +0000 |
| commit | 5023adc364df004bd8e57afe89a4bd8019485c3d (patch) | |
| tree | 7de015d4c2e68e3ca5fe0303538adb14a5930b49 /drivers/fpga/fpga-bridge.c | |
| parent | mei: me: add meteor lake point M DID (diff) | |
| download | kernel-5023adc364df004bd8e57afe89a4bd8019485c3d.tar.gz kernel-5023adc364df004bd8e57afe89a4bd8019485c3d.zip | |
misc: fastrpc: fix error code in fastrpc_req_mmap()
The "err" variable shadows an earlier global variable so this code
returns success instead of a negative error code.
Fixes: 532ad70c6d44 ("misc: fastrpc: Add mmap request assigning for static PD pool")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/Y4XUrMETCl1O6t0A@kili
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
