summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/loopback.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c
index 39ad4141ba8c..3263d8351aa3 100644
--- a/drivers/staging/greybus/loopback.c
+++ b/drivers/staging/greybus/loopback.c
@@ -287,8 +287,10 @@ static int gb_loopback_transfer(struct gb_loopback *gb, u32 len)
if (retval)
goto gb_error;
- if (memcmp(request->data, response->data, len))
+ if (memcmp(request->data, response->data, len)) {
+ pr_info("%s: Loopback Data doesn't match\n", __func__);
retval = -EREMOTEIO;
+ }
gb_error:
kfree(request);