Michael Buesch 028118a5f0 b43: Fix possible NULL pointer dereference in DMA code
This fixes a possible NULL pointer dereference in an error path of the
DMA allocation error checking code. This is also necessary for a future
DMA API change that is on its way into the mainline kernel that adds
an additional dev parameter to dma_mapping_error().

This patch moves the whole struct b43_dmaring struct initialization
right before any DMA allocation operation.

Reported-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-06-13 16:14:48 -04:00
..
2008-04-08 15:05:56 -04:00
2008-05-21 16:55:59 -07:00
2008-04-19 19:10:28 -07:00
2007-10-10 16:54:11 -07:00
2008-01-28 15:09:32 -08:00
2008-05-28 16:43:42 -04:00
2008-03-13 16:01:04 -04:00
2008-04-08 16:44:41 -04:00
2008-04-08 15:05:57 -04:00
2008-04-23 21:25:34 -04:00
2008-01-28 15:09:53 -08:00
2008-04-08 16:44:41 -04:00
2008-04-08 15:05:56 -04:00
2008-01-16 12:53:32 -05:00
2007-11-10 04:25:12 -05:00
2008-01-28 15:05:59 -08:00
2008-01-28 15:04:31 -08:00
2008-01-28 15:04:31 -08:00
2008-04-08 16:44:41 -04:00
2008-04-08 16:44:41 -04:00