Re: [PATCH 1/2] net/usb: catc: allocate URB setup_packet as separate buffer

2013-08-10 Thread Jussi Kivilinna
On 09.08.2013 23:42, David Miller wrote: > From: Jussi Kivilinna > Date: Wed, 07 Aug 2013 16:26:29 +0300 > >> URB setup packet must not be allocated as part of larger structure >> because DMA coherence issues. >> >> Patch changes catc to allocate ctrl_dr member as separate buffer. >> >> Patch is

Re: [PATCH 1/2] net/usb: catc: allocate URB setup_packet as separate buffer

2013-08-09 Thread David Miller
From: Jussi Kivilinna Date: Wed, 07 Aug 2013 16:26:29 +0300 > URB setup packet must not be allocated as part of larger structure > because DMA coherence issues. > > Patch changes catc to allocate ctrl_dr member as separate buffer. > > Patch is only compile tested. > > Cc: > Signed-off-by: Jus

[PATCH 1/2] net/usb: catc: allocate URB setup_packet as separate buffer

2013-08-07 Thread Jussi Kivilinna
URB setup packet must not be allocated as part of larger structure because DMA coherence issues. Patch changes catc to allocate ctrl_dr member as separate buffer. Patch is only compile tested. Cc: Signed-off-by: Jussi Kivilinna --- drivers/net/usb/catc.c | 40 +--