Skip to content
Snippets Groups Projects
Commit 5023adc3 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

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: 532ad70c ("misc: fastrpc: Add mmap request assigning for static PD pool")
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/Y4XUrMETCl1O6t0A@kili


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c4d6826
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment