aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2022-08-09 07:57:56 +0000
committerKalle Valo <[email protected]>2022-08-30 16:36:29 +0000
commit40b717bfcefab28a0656b8caa5e43d5449e5a671 (patch)
tree48b5f6be6f8324adea5170001a0b1f1449fd7b23 /drivers/usb/cdns3/cdns3-imx.c
parentwifi: mt76: mt7921e: fix crash in chip reset fail (diff)
downloadkernel-40b717bfcefab28a0656b8caa5e43d5449e5a671.tar.gz
kernel-40b717bfcefab28a0656b8caa5e43d5449e5a671.zip
wifi: wilc1000: fix DMA on stack objects
Sometimes 'wilc_sdio_cmd53' is called with addresses pointing to an object on the stack. Use dynamically allocated memory for cmd53 instead of stack address which is not DMA'able. Fixes: 5625f965d764 ("wilc1000: move wilc driver out of staging") Reported-by: Michael Walle <[email protected]> Suggested-by: Michael Walle <[email protected]> Signed-off-by: Ajay Singh <[email protected]> Reviewed-by: Michael Walle <[email protected]> Tested-by: Michael Walle <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions