From: Alex Elder Date: Wed, 3 Dec 2014 18:27:41 +0000 (-0600) Subject: greybus: fix an error message X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~1783 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=62749a056ab48994956cf14abcd5622db4a4a0cb;p=karo-tx-linux.git greybus: fix an error message The error message printed by gb_operation_sync() if the operation fails is wrong. Fix it. Signed-off-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c index c62f20072b3e..109b94fc26b7 100644 --- a/drivers/staging/greybus/operation.c +++ b/drivers/staging/greybus/operation.c @@ -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,