]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Check for error on dma_map_single call
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 21 Sep 2012 00:14:14 +0000 (00:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Oct 2012 08:12:09 +0000 (01:12 -0700)
commitb6800cbd16a6dc0f6798b466d072e05b87e695db
tree99bf153db330ede12413a2f46b3d54f2cb29d784
parent85fa8eaee32d8300eedbd85f97fa9807ee065cdf
ixgbevf: Check for error on dma_map_single call

Ignoring the return value from a call to the kernel dma_map API functions
can cause data corruption and system instability.  Check the return value
and take appropriate action.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c