summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2022-03-13 10:45:41 +0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-03-13 11:49:48 -0500
commitcbf58250b33e26d7e8e84919ee71eb1129f91f12 (patch)
tree675be0a95bb4081581e0930670910a21515b001e /lib/mpi/mpi-mod.c
parentdb64e7e74bd2abeae58ff65bdf41305f04a60fa1 (diff)
rpmsg: char: treat rpmsg_trysend() ENOMEM as EAGAIN
rpmsg_trysend() returns -ENOMEM when no rpmsg buffer can be allocated. this causes write to fail with this error as opposed to -EAGAIN. this is what user space applications (and libraries like boost.asio) would expect when using normal character devices. Signed-off-by: Tim Blechmann <tim@klingt.org> Cc: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220313024541.1579848-2-tim@klingt.org
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions