From: Viresh Kumar Date: Tue, 11 Aug 2015 01:59:18 +0000 (+0530) Subject: greybus: audio: Add '<' to the print message for short messages X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~1283^2~22 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=10c7ae04e36f05a82dd23eb314092c77df2c2049;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/audio.c b/drivers/staging/greybus/audio.c index 9f5f95913e8f..0e9bec5089b2 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; }