BRILLO: usb: gadget: fs: Fix and cleanup error messages
Driver got in a state where it prints messages of form:
More data(-75) recieved than intended length(7)
Print the message before setting the same ret variable to -EOVERFLOW, in
order to print the proper number of bytes received.
Also fix typos.
These messages are codeaurora extensions to the driver, introduced in
commit 2e020cf3c8af0d0ccaae60c25c07a72b747cb837, and are not upstream.
Bug: None
Change-Id: Id3c1217215d60d0b4035b41177182cd53779b404
1 file changed