linux/drivers/net/ethernet/intel
Jean Sacren e3e3bfdd1d i40e/i40evf: fix error checking path
The commit 6494294f27 ("i40e/i40evf: Use
dma_set_mask_and_coherent") uses dma_set_mask_and_coherent() to
replace dma_set_coherent_mask() for the benefit of return error.
The conversion brings some confusion in error checking as whether
against DMA_BIT_MASK(64) or DMA_BIT_MASK(32). For one, if error is
zero, the check will be against DMA_BIT_MASK(64) twice. Fix this
error checking by binding the check to the pertinent one.

Cc: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-31 15:48:02 -07:00
..
e1000 drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
e1000e e1000e: Fix no connectivity when driver loaded with cable out 2014-03-31 15:47:59 -07:00
i40e i40e/i40evf: fix error checking path 2014-03-31 15:48:02 -07:00
i40evf i40e/i40evf: fix error checking path 2014-03-31 15:48:02 -07:00
igb igb: fix race conditions on queuing skb for HW time stamp 2014-03-28 06:54:02 -07:00
igbvf igbvf: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:25:38 -07:00
ixgb ixgb: Call dev_kfree_skby_any instead of dev_kfree_skb. 2014-03-12 16:22:13 -04:00
ixgbe ixgbe: fix ixgbe_check_reset_blocked() declaration 2014-03-31 15:48:01 -07:00
ixgbevf ixgbevf: Change ixgbe_read_reg to ixgbevf_read_reg 2014-03-31 15:48:01 -07:00
e100.c e100: Convert uses of __constant_<foo> to <foo> 2014-03-19 21:46:36 -07:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00