summaryrefslogtreecommitdiff
path: root/drivers/watchdog/machzwd.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-10-14 16:29:34 (GMT)
committerWim Van Sebroeck <wim@iguana.be>2013-11-17 18:37:48 (GMT)
commit5412df0bda90a2bdcef2771849ad5472b9ef8100 (patch)
tree6f6d0bd0b63757971222628dd10bd23307b54953 /drivers/watchdog/machzwd.c
parentb1f9cd3225ae2e8626fe7503ae7be92240873049 (diff)
downloadlinux-5412df0bda90a2bdcef2771849ad5472b9ef8100.tar.xz
watchdog: pcwd_usb: Use allocated buffer for usb_control_msg
usb_control_msg() must use a dma-capable buffer. This fixes the following error reported by smatch: drivers/watchdog/pcwd_usb.c:257 usb_pcwd_send_command() error: doing dma on the stack (buf) Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/machzwd.c')
0 files changed, 0 insertions, 0 deletions