Files
linux-legacy/drivers/net
Larry Finger 310c71f781 p54usb: Remove DMA buffer from stack
commit 21d6c270f11c7d0ab5aafa48a6e79ba514f4e5e7 upstream.

On 2.6.32-rc6 from wireless-testing, the following warning is emitted:

------------[ cut here ]------------
WARNING: at lib/dma-debug.c:860 check_for_stack+0xaa/0xe0()
Hardware name: HP Pavilion dv2700 Notebook PC
ehci_hcd 0000:00:02.1: DMA-API: device driver maps memory fromstack
	 [addr=ffff8800b6e2bca8]
Modules linked in: <Removed>
Pid: 16378, comm: modprobe Not tainted 2.6.32-rc6-wl #244
Call Trace:
 [<ffffffff81049698>] warn_slowpath_common+0x78/0xb0
 [<ffffffff8104972c>] warn_slowpath_fmt+0x3c/0x40
 [<ffffffff811ae52a>] check_for_stack+0xaa/0xe0
 [<ffffffff811afc8d>] debug_dma_map_page+0xfd/0x170
 [<ffffffffa006297a>] usb_hcd_submit_urb+0x3da/0x9c0 [usbcore]
 [<ffffffff81076e6f>] ? lockdep_init_map+0x5f/0x5d0
 [<ffffffffa0063365>] usb_submit_urb+0xe5/0x260 [usbcore]
 [<ffffffffa0064b7e>] usb_start_wait_urb+0x5e/0xf0 [usbcore]
 [<ffffffffa0063943>] ? usb_init_urb+0x23/0x40 [usbcore]
 [<ffffffffa0064cd4>] usb_bulk_msg+0xc4/0x150 [usbcore]
 [<ffffffffa0441a91>] T.719+0x31/0x40 [p54usb]
 [<ffffffffa0441acf>] p54u_upload_firmware_3887+0x2f/0x490 [p54usb]
 [<ffffffffa049c667>] ? p54_parse_firmware+0x427/0x450 [p54common]
 <Rest of traceback removed>
---[ end trace f77df0316ddad3de ]---

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-18 13:44:11 -08:00
..
2009-04-13 15:16:33 -07:00
2009-07-13 11:11:41 -07:00
2009-06-08 00:21:48 -07:00
2009-07-03 19:10:51 -07:00
2009-07-26 18:50:39 -07:00
2009-12-08 10:22:27 -08:00
2009-05-26 20:35:02 -07:00
…
2009-05-26 20:35:02 -07:00
…
…
2009-05-26 20:35:02 -07:00
2009-07-30 13:27:28 -07:00
2009-05-26 20:35:03 -07:00
…
…
…
2009-07-12 14:20:04 -07:00
…
2009-04-24 04:45:33 -07:00
2009-05-17 11:59:51 -07:00
…
…
…
…
2009-04-11 02:53:46 -07:00
…
2009-07-26 18:50:38 -07:00
…
…
…
2009-12-18 13:43:53 -08:00
2009-07-09 20:32:31 -07:00
…
2009-04-04 16:51:14 -07:00
…
2009-08-15 18:50:47 -07:00
2009-08-15 18:50:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
2009-07-26 18:53:17 -07:00
2009-07-30 13:27:34 -07:00
…
…
…
2009-07-05 18:03:33 -07:00
2009-09-06 01:41:24 -07:00
…
…
…
2009-04-16 02:20:08 -07:00
…
…
…
2009-05-17 15:19:36 -07:00
…
2009-06-11 17:23:24 -07:00
2009-10-12 12:40:20 -07:00
2009-05-29 01:46:27 -07:00
…
2009-05-29 01:51:22 -07:00
2009-06-08 00:20:20 -07:00
2009-07-20 08:23:26 -07:00
2009-07-20 08:23:26 -07:00
…
2009-04-16 02:20:15 -07:00
…
…
…
…
2009-04-16 02:20:16 -07:00
2009-07-20 08:23:26 -07:00
2009-06-25 20:06:34 -07:00
…
2009-04-16 02:20:18 -07:00
2009-04-16 02:20:21 -07:00
…
2009-04-16 02:20:22 -07:00
…
…
…
…
…
2009-06-18 00:29:08 -07:00
2009-08-09 21:45:48 -07:00
2009-07-12 14:20:04 -07:00
2009-07-16 09:14:23 -07:00
2009-07-30 14:19:19 -07:00
…
…
2009-07-26 20:18:52 -07:00
2009-04-16 02:20:24 -07:00
…
2009-04-29 17:32:34 -07:00
2009-08-02 12:20:40 -07:00
…
2009-04-16 02:20:25 -07:00
…
2009-05-25 22:49:56 -07:00
…
…
2009-12-08 10:22:36 -08:00
…
…
…
2009-12-18 13:43:56 -08:00
2009-04-16 02:20:25 -07:00
…
…
…
…
…
…
…
…
…
…
…
2009-07-12 14:20:04 -07:00
…
2009-06-08 00:21:48 -07:00
…
…
…
2009-04-13 15:16:21 -07:00
…