net: wireless: orinoco: orinoco_usb.c: fix DMA buffers on stack
authorKumar Amit Mehta <gmate.amit@gmail.com>
Mon, 18 Feb 2013 11:37:44 +0000 (03:37 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Feb 2013 20:30:40 +0000 (15:30 -0500)
commit488ec878034eccb852267b0e27ce9d511f75c587
tree4626543a0b094b82e5d5fc34c9eb14f96fc2a76b
parentbc6b89237acb3dee6af6e64e51a18255fef89cc2
net: wireless: orinoco: orinoco_usb.c: fix DMA buffers on stack

This patch fixes an instance of DMA buffer on stack(being passed to
usb_control_msg) for the wireless USB version of the Agere Orinoco card driver.
It also fixes the missing audit for the return value of firmware download
routine. Found using smatch.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/orinoco_usb.c