diff options
author | Richard Acayan <mailingradian@gmail.com> | 2023-05-23 18:25:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-29 17:09:50 +0300 |
commit | b6a062853ddf6b4f653af2d8b75ba45bb9a036ad (patch) | |
tree | c1e9851328f8cdd7f681eeb34c6e3e1affe71595 /CREDITS | |
parent | 3c7d0079a1831118ef232bd9c2f34d058a1f31c2 (diff) | |
download | linux-b6a062853ddf6b4f653af2d8b75ba45bb9a036ad.tar.xz |
misc: fastrpc: return -EPIPE to invocations on device removal
The return value is initialized as -1, or -EPERM. The completion of an
invocation implies that the return value is set appropriately, but
"Permission denied" does not accurately describe the outcome of the
invocation. Set the invocation's return value to a more appropriate
"Broken pipe", as the cleanup breaks the driver's connection with rpmsg.
Fixes: c68cfb718c8f ("misc: fastrpc: Add support for context Invoke method")
Cc: stable <stable@kernel.org>
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230523152550.438363-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions