Hi,

On Fri, Aug 03, 2018 at 09:03:36AM +0000, Alexey Spirkov wrote:
> Existing code is not applicable to big-endian machines
> ctrlrequest fields received in USB endian - i.e. in little-endian
> and should be converted to cpu endianness before usage.
> 
> Signed-off-by: Alexey Spirkov <alex...@astrosoft.ru>
> ---
>  drivers/usb/musb/musb_gadget_ep0.c | 29 ++++++++++++++---------------
>  1 file changed, 14 insertions(+), 15 deletions(-)
> 
> diff --git a/drivers/usb/musb/musb_gadget_ep0.c 
> b/drivers/usb/musb/musb_gadget_ep0.c
> index 91a5027..90abacb 100644
> --- a/drivers/usb/musb/musb_gadget_ep0.c
> +++ b/drivers/usb/musb/musb_gadget_ep0.c
> @@ -82,7 +82,7 @@ static int service_tx_status_request(
>                 u16             tmp;
                     ^^^^^^^^^^^^^
The patch cannot be applied. All the tabs are converted to whitespaces.

Regards,
-Bin.

Reply via email to