Re: [PATCH] watchdog: pcwd_usb: Use allocated buffer for usb_control_msg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 14, 2013 at 09:29:34AM -0700, Guenter Roeck wrote:
> 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@xxxxxxxxxxxx>

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux