Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] android/ipc: Fix arguments order in DBG
@ 2014-01-12 21:44 Andrzej Kaczmarek
  2014-01-13  8:11 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Kaczmarek @ 2014-01-12 21:44 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Andrzej Kaczmarek

---
 android/ipc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/ipc.c b/android/ipc.c
index 03bdc35..a31d315 100644
--- a/android/ipc.c
+++ b/android/ipc.c
@@ -88,7 +88,7 @@ int ipc_handle_msg(struct service_handler *handlers, size_t max_index,
 	if ((handler->var_len && handler->data_len > msg->len) ||
 			(!handler->var_len && handler->data_len != msg->len)) {
 		DBG("invalid size for opcode 0x%x service 0x%x",
-						msg->service_id, msg->opcode);
+						msg->opcode, msg->service_id);
 		return -EMSGSIZE;
 	}
 
-- 
1.8.5.2


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

* Re: [PATCH] android/ipc: Fix arguments order in DBG
  2014-01-12 21:44 [PATCH] android/ipc: Fix arguments order in DBG Andrzej Kaczmarek
@ 2014-01-13  8:11 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-01-13  8:11 UTC (permalink / raw)
  To: Andrzej Kaczmarek; +Cc: linux-bluetooth

Hi Andrzej,

On Sunday 12 of January 2014 22:44:45 Andrzej Kaczmarek wrote:
> ---
>  android/ipc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/android/ipc.c b/android/ipc.c
> index 03bdc35..a31d315 100644
> --- a/android/ipc.c
> +++ b/android/ipc.c
> @@ -88,7 +88,7 @@ int ipc_handle_msg(struct service_handler *handlers, size_t max_index,
>  	if ((handler->var_len && handler->data_len > msg->len) ||
>  			(!handler->var_len && handler->data_len != msg->len)) {
>  		DBG("invalid size for opcode 0x%x service 0x%x",
> -						msg->service_id, msg->opcode);
> +						msg->opcode, msg->service_id);
>  		return -EMSGSIZE;
>  	}
>  
> 

Applied, thanks.

-- 
Best regards, 
Szymon Janc

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

end of thread, other threads:[~2014-01-13  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-12 21:44 [PATCH] android/ipc: Fix arguments order in DBG Andrzej Kaczmarek
2014-01-13  8:11 ` Szymon Janc

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