mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
greybus: operation: Fix wrong order of arguments
The order of arguments is wrong and that shows up as a warning only on
64 bit machines.
Fixes: cb0ef0c019ab ("operation: print message type on errors")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
1ab2e8918d
commit
4be6ea54d4
1 changed files with 1 additions and 1 deletions
|
|
@ -869,7 +869,7 @@ static void gb_connection_recv_response(struct gb_connection *connection,
|
|||
message_size = sizeof(*message->header) + message->payload_size;
|
||||
if (!errno && size != message_size) {
|
||||
dev_err(&connection->dev, "bad message (0x%02hhx) size (%zu != %zu)\n",
|
||||
size, message_size, message->header->type);
|
||||
message->header->type, size, message_size);
|
||||
errno = -EMSGSIZE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue