]> 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)
commit05e71942b0388504b2aa5c5949f0920b3265362f
tree99bf153db330ede12413a2f46b3d54f2cb29d784
parent4379557fcdbd1ad848bcbc81a87dcecd5f5ea56d
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