ixgbe: return IXGBE_ERR_RAR_INDEX when out of range
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Jun 2010 12:44:05 +0000 (12:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2010 10:28:28 +0000 (03:28 -0700)
Based on original patch from Shirley Ma <xma@us.ibm.com>
Return IXGBE_ERR_RAR_INDEX when RAR index is out of range, instead of
returning IXGBE_SUCCESS.

CC: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found