summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-08-11 07:29:18 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-08-11 17:46:57 -0700
commit10c7ae04e36f05a82dd23eb314092c77df2c2049 (patch)
treea6e54260668edc9c5df1ef775b2e12190a0db9d0 /drivers
parent33f06a75eecaa34b43c83f57280c6ef1ffedd101 (diff)
downloadop-kernel-dev-10c7ae04e36f05a82dd23eb314092c77df2c2049.zip
op-kernel-dev-10c7ae04e36f05a82dd23eb314092c77df2c2049.tar.gz
greybus: audio: Add '<' to the print message for short messages
This increases readability a bit more, as it tells which value is actual size and which one is expected size. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio.c b/drivers/staging/greybus/audio.c
index 9f5f959..0e9bec5 100644
--- a/drivers/staging/greybus/audio.c
+++ b/drivers/staging/greybus/audio.c
@@ -357,7 +357,7 @@ static int gb_i2s_mgmt_report_event_recv(u8 type, struct gb_operation *op)
}
if (op->request->payload_size < sizeof(*req)) {
- dev_err(&connection->dev, "Short request received: %zu, %zu\n",
+ dev_err(&connection->dev, "Short request received (%zu < %zu)\n",
op->request->payload_size, sizeof(*req));
return -EINVAL;
}
OpenPOWER on IntegriCloud