From: Guenter Roeck Date: Mon, 14 Oct 2013 16:29:34 +0000 (-0700) Subject: watchdog: pcwd_usb: Use allocated buffer for usb_control_msg X-Git-Tag: v3.13-rc1~42^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5412df0bda90a2bdcef2771849ad5472b9ef8100;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed