greybus: raw: Print expected/actual payload size on mismatch
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 6 Aug 2015 07:14:52 +0000 (12:44 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 11 Aug 2015 00:28:30 +0000 (17:28 -0700)
commit7fea641c94d645bf30712cb6e6c498597c7e5634
treeb7bc7c114539605b6218e6b84fe2f58bf673541c
parent47a96858b526e14882438e455ec078fc7e51155b
greybus: raw: Print expected/actual payload size on mismatch

Print (expected-payload-size actual-payload-size), when the size doesn't
match for requests received by the module. This gives more details
required for debugging the issue.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/raw.c