aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorTim Blechmann <[email protected]>2022-03-13 10:45:41 +0800
committerBjorn Andersson <[email protected]>2022-03-13 11:49:48 -0500
commitcbf58250b33e26d7e8e84919ee71eb1129f91f12 (patch)
tree675be0a95bb4081581e0930670910a21515b001e /tools/testing/selftests/bpf/progs/test_prog_array_init.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 <[email protected]> Cc: Arnaud Pouliquen <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions