]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
greybus: audio: Add '<' to the print message for short messages
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 11 Aug 2015 01:59:18 +0000 (07:29 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 12 Aug 2015 00:46:57 +0000 (17:46 -0700)
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>
drivers/staging/greybus/audio.c

index 9f5f95913e8f49c1598a8f0510c6aed9dc810e8c..0e9bec5089b2959a30a114ac7bb78a3db0319c7a 100644 (file)
@@ -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;
        }