Re: [U-Boot] [PATCH] USB-CDC: correct wrong alignment in ether.c

2010-08-12 Thread Sergei Shtylyov
Hello. Stefano Babic wrote: The buffer for the status request must be word aligned because it is accessed with 32 bit pointer in the eth_status_complete function. You don't tell anything here about why the size of the array becomes 16x with your patch... Signed-off-by: Stefano Babic

Re: [U-Boot] [PATCH] USB-CDC: correct wrong alignment in ether.c

2010-08-12 Thread Stefano Babic
Sergei Shtylyov wrote: Hello. Hi Sergej, Stefano Babic wrote: The buffer for the status request must be word aligned because it is accessed with 32 bit pointer in the eth_status_complete function. You don't tell anything here about why the size of the array becomes 16x with your

[U-Boot] [PATCH] USB-CDC: correct wrong alignment in ether.c

2010-08-11 Thread Stefano Babic
The buffer for the status request must be word aligned because it is accessed with 32 bit pointer in the eth_status_complete function. Signed-off-by: Stefano Babic sba...@denx.de --- drivers/usb/gadget/ether.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git