All of
 help / color / mirror / Atom feed
From: Tim Blechmann <>
Cc: Tim Blechmann <>
Subject: [PATCH 0/1] rpmsg: char - treat `ENOMEM` as `EAGAIN`
Date: Mon, 14 Feb 2022 17:30:19 +0800	[thread overview]
Message-ID: <> (raw)

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(-)


             reply	other threads:[~2022-02-14  9:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-14  9:30 Tim Blechmann [this message]
2022-02-14  9:30 ` [PATCH 1/1] rpmsg: char - treat `ENOMEM` as `EAGAIN` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.