Re: [media] redrat3: remove memcpys and fix unaligned memory access

2013-04-10 Thread Sean Young
On Tue, Apr 09, 2013 at 12:02:59PM +0300, Dan Carpenter wrote: > I had a question about 4c055a5ae94c: "[media] redrat3: remove memcpys > and fix unaligned memory access" from Feb 16, 2013. > > drivers/media/rc/redrat3.c >619 /* grab the Length and typ

re: [media] redrat3: remove memcpys and fix unaligned memory access

2013-04-09 Thread Dan Carpenter
Hi Sean, I had a question about 4c055a5ae94c: "[media] redrat3: remove memcpys and fix unaligned memory access" from Feb 16, 2013. drivers/media/rc/redrat3.c 619 /* grab the Length and type of transfer */ 620 pktlen = be16_to_cpu(header->length); 621

Re: [PATCH 2/3] [media] redrat3: remove memcpys and fix unaligned memory access

2013-02-26 Thread David Härdeman
On Sat, Feb 16, 2013 at 09:25:44PM +, Sean Young wrote: >In stead of doing a memcpy from #defined offset, declare structs which >describe the incoming and outgoing data accurately. > >Tested on first generation RedRat. Oh, so you have that hardwarethat's great. I greatly appreciate that t

[PATCH 2/3] [media] redrat3: remove memcpys and fix unaligned memory access

2013-02-16 Thread Sean Young
In stead of doing a memcpy from #defined offset, declare structs which describe the incoming and outgoing data accurately. Tested on first generation RedRat. Signed-off-by: Sean Young --- drivers/media/rc/redrat3.c | 351 +--- 1 files changed, 103 insert