Commit 62749a05 authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman
Browse files

greybus: fix an error message



The error message printed by gb_operation_sync() if the operation
fails is wrong.  Fix it.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent c25572ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -939,7 +939,7 @@ int gb_operation_sync(struct gb_connection *connection, int type,

	ret = gb_operation_request_send_sync(operation);
	if (ret)
		pr_err("version operation failed (%d)\n", ret);
		pr_err("synchronous operation failed (%d)\n", ret);
	else
		if (response_size)
			memcpy(response, operation->response->payload,