Em Mon, 25 Feb 2013 01:39:41 +0200
Antti Palosaari escreveu:
> WARNING: at lib/dma-debug.c:947 check_for_stack+0xa7/0xf0()
> ehci-pci :00:04.1: DMA-API: device driver maps memory fromstack
>
> Reported-by: poma
> Signed-off-by: Antti Palosaari
> ---
> drivers/media/usb/dvb-usb-v2/af9015.c
Ooops, I think it will not work properly for the long ran as there is no
lock to serialize access to that buffer early enough.
I have to rethink whole situation and maybe try to move "usb_mutex" from
the dvb_usbv2_generic_rw() to the device driver. Or add totally new mutex.
regards
Antti
On
WARNING: at lib/dma-debug.c:947 check_for_stack+0xa7/0xf0()
ehci-pci :00:04.1: DMA-API: device driver maps memory fromstack
Reported-by: poma
Signed-off-by: Antti Palosaari
---
drivers/media/usb/dvb-usb-v2/af9015.c | 34 --
drivers/media/usb/dvb-usb-v2/af9015