WSL2-Linux-Kernel/drivers/net/can/usb/peak_usb
Marc Kleine-Budde f14e22435a 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>
2013-06-03 14:05:32 +02:00
..
Makefile can: usb: PEAK-System Technik PCAN-USB Pro specific part 2012-03-03 17:40:58 +01:00
pcan_usb.c can: peak_usb: fix hwtstamp assignment 2012-11-26 22:33:06 +01:00
pcan_usb_core.c can: Remove unnecessary alloc/OOM messages 2013-02-04 13:22:33 -05:00
pcan_usb_core.h can: pcan_usb_core: remove obsolete variable open_time 2012-11-29 14:34:06 +01:00
pcan_usb_pro.c net: can: peak_usb: Do not do dma on the stack 2013-06-03 14:05:32 +02:00
pcan_usb_pro.h net: can: peak_usb: Do not do dma on the stack 2013-06-03 14:05:32 +02:00