diff options
author | Olivier Sobrie <olivier@sobrie.be> | 2013-01-18 09:14:04 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-06-03 14:05:31 +0200 |
commit | fae37f81fdf3680c5d70abdc57e7b83f4b6c266a (patch) | |
tree | a88707db07641e19471fdae0e11a4e7a647e5332 /Kbuild | |
parent | a90f13b24fb40d02d11496cce6a10ae8d4b319b2 (diff) | |
download | op-kernel-dev-fae37f81fdf3680c5d70abdc57e7b83f4b6c266a.zip op-kernel-dev-fae37f81fdf3680c5d70abdc57e7b83f4b6c266a.tar.gz |
net: can: esd_usb2: Do not do dma on the stack
smatch reports the following warnings:
drivers/net/can/usb/esd_usb2.c:640 esd_usb2_start() error: doing dma on the stack (&msg)
drivers/net/can/usb/esd_usb2.c:846 esd_usb2_close() error: doing dma on the stack (&msg)
drivers/net/can/usb/esd_usb2.c:855 esd_usb2_close() error: doing dma on the stack (&msg)
drivers/net/can/usb/esd_usb2.c:923 esd_usb2_set_bittiming() error: doing dma on the stack (&msg)
drivers/net/can/usb/esd_usb2.c:1047 esd_usb2_probe() error: doing dma on the stack (&msg)
drivers/net/can/usb/esd_usb2.c:1053 esd_usb2_probe() error: doing dma on the stack (&msg)
See "Documentation/DMA-API-HOWTO.txt" section "What memory is DMA'able?"
Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions