public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] More btd_error_* patches
@ 2010-12-13 21:32 Gustavo F. Padovan
  2010-12-13 21:32 ` [PATCH 01/10] Add btd_error_no_such_adapter() Gustavo F. Padovan
  2010-12-14  8:56 ` [PATCH 00/10] More btd_error_* patches Johan Hedberg
  0 siblings, 2 replies; 12+ messages in thread
From: Gustavo F. Padovan @ 2010-12-13 21:32 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

This patch set adds a new error function btd_error_failed(), which has a str
parameter to enable a more accurate error report in the case the usual
btd_error_* does not fit.

After this patch set there will 10 occurrences of g_dbus_create_error() inside
bluez code (not counting health/ here)

Please review!

Gustavo F. Padovan (10):
  Add btd_error_no_such_adapter()
  src: use btd_error_invalid_args()
  Add btd_error_failed()
  plugins: use btd_error_failed()
  attrib: use btd_error_failed()
  network: use btd_error_failed()
  input: use btd_error_failed()
  audio: use btd_error_failed()
  serial: use btd_error_failed()
  src: use btd_error_failed()

 attrib/client.c      |   10 +-------
 audio/control.c      |    6 +---
 audio/device.c       |   14 ++++--------
 audio/gateway.c      |   11 ++++-----
 audio/headset.c      |   18 ++++------------
 audio/sink.c         |    9 ++-----
 audio/source.c       |    9 ++-----
 audio/transport.c    |    7 +-----
 input/device.c       |   31 +++++++----------------------
 network/connection.c |   30 +--------------------------
 network/server.c     |   13 ++---------
 plugins/service.c    |   22 +++-----------------
 serial/port.c        |   20 ++++++++----------
 serial/proxy.c       |    8 +-----
 src/adapter.c        |   37 ++++++++++++-----------------------
 src/device.c         |   52 ++++++++++++-------------------------------------
 src/error.c          |   12 +++++++++++
 src/error.h          |    2 +
 src/manager.c        |   13 ++---------
 19 files changed, 97 insertions(+), 227 deletions(-)

-- 
1.7.3.2


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

end of thread, other threads:[~2010-12-14  8:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 21:32 [PATCH 00/10] More btd_error_* patches Gustavo F. Padovan
2010-12-13 21:32 ` [PATCH 01/10] Add btd_error_no_such_adapter() Gustavo F. Padovan
2010-12-13 21:32   ` [PATCH 02/10] src: use btd_error_invalid_args() Gustavo F. Padovan
2010-12-13 21:33     ` [PATCH 03/10] Add btd_error_failed() Gustavo F. Padovan
2010-12-13 21:33       ` [PATCH 04/10] plugins: use btd_error_failed() Gustavo F. Padovan
2010-12-13 21:33         ` [PATCH 05/10] attrib: " Gustavo F. Padovan
2010-12-13 21:33           ` [PATCH 06/10] network: " Gustavo F. Padovan
2010-12-13 21:33             ` [PATCH 07/10] input: " Gustavo F. Padovan
2010-12-13 21:33               ` [PATCH 08/10] audio: " Gustavo F. Padovan
2010-12-13 21:33                 ` [PATCH 09/10] serial: " Gustavo F. Padovan
2010-12-13 21:33                   ` [PATCH 10/10] src: " Gustavo F. Padovan
2010-12-14  8:56 ` [PATCH 00/10] More btd_error_* patches Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox