commit | 91ffb8e0dc662868addeff9fd013145c49a43c4a | [log] [tgz] |
---|---|---|
author | Greg Rose <gregory.v.rose@intel.com> | Fri Sep 21 00:21:39 2012 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Oct 29 23:48:58 2012 -0700 |
tree | fee430bdc1420e92340a48b6aab345eb37aba5eb | |
parent | f9d08f165b8a5a4af6f827318e692b57bc683825 [diff] |
igbvf: 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: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>