]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
b43legacy: Fix possible NULL pointer dereference in DMA code
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Jun 2008 09:40:46 +0000 (11:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2008 14:56:16 +0000 (10:56 -0400)
commit2f9ec47d0954f9d2e5a00209c2689cbc477a8c89
tree5a10d3b33f105fef01cddc186f361d752b17b65d
parent7b3abfc87ec13a81b255012b6e1bd4caeeb05aec
b43legacy: 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().

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: stable <stable@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/dma.c