From: Oliver Neukum
Date: Mon, 29 Jul 2013 07:20:24 +0200
> On Sat, 2013-07-27 at 20:21 -0700, David Miller wrote:
>> From: Hayes Wang
>> Date: Thu, 25 Jul 2013 15:59:02 +0800
>>
>> > Some USB buffers use stack which may not be DMA-able.
>> > Use the buffers from kmalloc to replace those one.
>
On Sat, 2013-07-27 at 20:21 -0700, David Miller wrote:
> From: Hayes Wang
> Date: Thu, 25 Jul 2013 15:59:02 +0800
>
> > Some USB buffers use stack which may not be DMA-able.
> > Use the buffers from kmalloc to replace those one.
> >
> > Signed-off-by: Hayes Wang
>
> I don't think it's reasonab
From: Hayes Wang
Date: Thu, 25 Jul 2013 15:59:02 +0800
> Some USB buffers use stack which may not be DMA-able.
> Use the buffers from kmalloc to replace those one.
>
> Signed-off-by: Hayes Wang
I don't think it's reasonable to kmalloc() a small integer every time
you want to use a USB message
Some USB buffers use stack which may not be DMA-able.
Use the buffers from kmalloc to replace those one.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r815x.c | 44 +++-
1 file changed, 27 insertions(+), 17 deletions(-)
diff --git a/drivers/net/usb/r815x.
4 matches
Mail list logo