iwlegacy: check for dma mapping errors
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 30 Jan 2013 16:08:03 +0000 (17:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Feb 2013 19:27:22 +0000 (14:27 -0500)
Handle pci_map_page() errors. This fixes "DMA-API: device driver failed
to check map error" warning.

Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found