All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] rpmsg: char - treat `ENOMEM` as `EAGAIN`
@ 2022-02-14  9:30 Tim Blechmann
  2022-02-14  9:30 ` [PATCH 1/1] " Tim Blechmann
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Blechmann @ 2022-02-14  9:30 UTC (permalink / raw)
  To: linux-remoteproc; +Cc: Tim Blechmann

This patch should allow the use of `rpmsg_char` character devices with
libraries that do a `poll`/`write` loop and expect `EAGAIN` when sending
fails and the user space application needs to `poll` to wait for more
space to be available.
`boost::asio::write` is a notable example of a library, which implements
such a loop.


Tim Blechmann (1):
  rpmsg: char - treat `ENOMEM` as `EAGAIN`

 drivers/rpmsg/rpmsg_char.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-13  2:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14  9:30 [PATCH 0/1] rpmsg: char - treat `ENOMEM` as `EAGAIN` Tim Blechmann
2022-02-14  9:30 ` [PATCH 1/1] " Tim Blechmann
2022-03-12 15:14   ` Bjorn Andersson
2022-03-13  2:45     ` [PATCH 0/1 v2] " tim.blechmann
2022-03-13  2:45       ` [PATCH 1/1] rpmsg: char - treat ENOMEM as EAGAIN tim.blechmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.