iwlagn: check DMA mapping errors
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Apr 2011 14:27:10 +0000 (07:27 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 6 May 2011 17:46:23 +0000 (10:46 -0700)
commit2c46f72e069eef5e98f2b04df08cde6bdc673aa7
tree62243e8844fd39864bffacbd50b393d1470b8000
parent94b00658ffc719427c9c09d7920957bc35915c6f
iwlagn: check DMA mapping errors

DMA mappings can fail, but the current code
doesn't check for that. Add checking, which
requires some restructuring for proper error
paths.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
drivers/net/wireless/iwlwifi/iwl-tx.c
This page took 0.038027 seconds and 5 git commands to generate.