mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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>
This commit is contained in:
parent
33f06a75ee
commit
10c7ae04e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue