* [PATCH BlueZ 1/2] AVCTP: Remove hand-written function name from log
@ 2012-10-04 5:14 Lucas De Marchi
2012-10-04 5:14 ` [PATCH BlueZ 2/2] AVDTP: " Lucas De Marchi
2012-10-04 8:26 ` [PATCH BlueZ 1/2] AVCTP: " Johan Hedberg
0 siblings, 2 replies; 3+ messages in thread
From: Lucas De Marchi @ 2012-10-04 5:14 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Lucas De Marchi
From: Lucas De Marchi <lucas.de.marchi@gmail.com>
Besides being hand-written, it was wrong which leads to confusion with
the AVDTP.
---
audio/avctp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/avctp.c b/audio/avctp.c
index b7b3083..53c28ec 100644
--- a/audio/avctp.c
+++ b/audio/avctp.c
@@ -392,7 +392,7 @@ static void avctp_set_state(struct avctp *session, avctp_state_t new_state)
dev = manager_get_device(&session->server->src, &session->dst, FALSE);
if (dev == NULL) {
- error("avdtp_set_state(): no matching audio device");
+ error("%s(): No matching audio device", __func__);
return;
}
--
1.7.12.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH BlueZ 2/2] AVDTP: Remove hand-written function name from log
2012-10-04 5:14 [PATCH BlueZ 1/2] AVCTP: Remove hand-written function name from log Lucas De Marchi
@ 2012-10-04 5:14 ` Lucas De Marchi
2012-10-04 8:26 ` [PATCH BlueZ 1/2] AVCTP: " Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Lucas De Marchi @ 2012-10-04 5:14 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Lucas De Marchi
From: Lucas De Marchi <lucas.de.marchi@gmail.com>
---
audio/avdtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 8836ca1..7db3c02 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -770,7 +770,7 @@ static void avdtp_set_state(struct avdtp *session,
avdtp_get_peers(session, &src, &dst);
dev = manager_get_device(&src, &dst, FALSE);
if (dev == NULL) {
- error("avdtp_set_state(): no matching audio device");
+ error("%s(): No matching audio device", __func__);
return;
}
--
1.7.12.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ 1/2] AVCTP: Remove hand-written function name from log
2012-10-04 5:14 [PATCH BlueZ 1/2] AVCTP: Remove hand-written function name from log Lucas De Marchi
2012-10-04 5:14 ` [PATCH BlueZ 2/2] AVDTP: " Lucas De Marchi
@ 2012-10-04 8:26 ` Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2012-10-04 8:26 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: linux-bluetooth, Lucas De Marchi
Hi Lucas,
On Thu, Oct 04, 2012, Lucas De Marchi wrote:
> Besides being hand-written, it was wrong which leads to confusion with
> the AVDTP.
> ---
> audio/avctp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Both patches have been applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-04 8:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04 5:14 [PATCH BlueZ 1/2] AVCTP: Remove hand-written function name from log Lucas De Marchi
2012-10-04 5:14 ` [PATCH BlueZ 2/2] AVDTP: " Lucas De Marchi
2012-10-04 8:26 ` [PATCH BlueZ 1/2] AVCTP: " Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).