2014-01-12 21:44:45

by Andrzej Kaczmarek

[permalink] [raw]
Subject: [PATCH] android/ipc: Fix arguments order in DBG

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



2014-01-13 08:11:22

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/ipc: Fix arguments order in DBG

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