diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-05-16 11:36:40 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-06-03 14:05:32 +0200 |
commit | f14e22435a27ef183bbfa78f77ad86644c0b354c (patch) | |
tree | 60fafa1a40ba6c0a3946cad92f55c43e1c946865 /drivers/hv/hv.c | |
parent | fae37f81fdf3680c5d70abdc57e7b83f4b6c266a (diff) |
net: can: peak_usb: Do not do dma on the stack
smatch reports the following warnings:
drivers/net/can/usb/peak_usb/pcan_usb_pro.c:514 pcan_usb_pro_drv_loaded() error: doing dma on the stack (buffer)
drivers/net/can/usb/peak_usb/pcan_usb_pro.c:878 pcan_usb_pro_init() error: doing dma on the stack (&fi)
drivers/net/can/usb/peak_usb/pcan_usb_pro.c:889 pcan_usb_pro_init() error: doing dma on the stack (&bi)
See "Documentation/DMA-API-HOWTO.txt" section "What memory is DMA'able?"
Cc: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/hv/hv.c')
0 files changed, 0 insertions, 0 deletions