From 5412df0bda90a2bdcef2771849ad5472b9ef8100 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Mon, 14 Oct 2013 09:29:34 -0700 Subject: [PATCH] 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-format-patch failed