All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ell@lists.01.org
Subject: Re: [PATCH v5 2/4] dbus: Add AddMatch and RemoveMatch support
Date: Mon, 23 Feb 2015 11:08:39 -0600	[thread overview]
Message-ID: <54EB5E97.1070708@gmail.com> (raw)
In-Reply-To: <1424692500-21681-3-git-send-email-jukka.rissanen@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

Hi Jukka,

On 02/23/2015 05:54 AM, Jukka Rissanen wrote:
> We do not check for errors as they are typically unrecoverable
> in this case and in most cases ignored anyway.
>
> This is the comment from libdbus API documentation for
> dbus_bus_add_match() about error checking:
>
> "If you pass NULL for the error, this function will not block;
> the match thus won't be added until you flush the connection,
> and if there's an error adding the match you won't find out
> about it. This is generally acceptable, since the possible
> errors (including a lack of resources in the bus, the connection
> having exceeded its quota of active match rules, or the match
> rule being unparseable) are generally unrecoverable."
> ---
>   ell/dbus.c | 26 ++++++++++++++++++++++++++
>   1 file changed, 26 insertions(+)
>

Applied, thanks.

Regards,
-Denis


  reply	other threads:[~2015-02-23 17:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 11:54 [PATCH v5 0/4] Add DBus disconnect watch support Jukka Rissanen
2015-02-23 11:54 ` [PATCH v5 1/4] unit: dbus: Add test for filter rule Jukka Rissanen
2015-02-23 16:59   ` Denis Kenzior
2015-02-23 11:54 ` [PATCH v5 2/4] dbus: Add AddMatch and RemoveMatch support Jukka Rissanen
2015-02-23 17:08   ` Denis Kenzior [this message]
2015-02-23 11:54 ` [PATCH v5 3/4] dbus: Add disconnect watch support Jukka Rissanen
2015-02-23 17:08   ` Denis Kenzior
2015-02-23 11:55 ` [PATCH v5 4/4] unit: dbus: Add test for disconnect watch API Jukka Rissanen
2015-02-23 17:09   ` Denis Kenzior

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=54EB5E97.1070708@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ell@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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.