diff options
author | Olivier Sobrie <[email protected]> | 2013-01-18 09:14:04 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2013-06-03 14:05:31 +0200 |
commit | fae37f81fdf3680c5d70abdc57e7b83f4b6c266a (patch) | |
tree | a88707db07641e19471fdae0e11a4e7a647e5332 /lib/memory-notifier-error-inject.c | |
parent | a90f13b24fb40d02d11496cce6a10ae8d4b319b2 (diff) |
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 <[email protected]>
Cc: Matthias Fuchs <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions