i40e: fix error return
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 28 Nov 2013 06:39:30 +0000 (06:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 4 Jan 2014 05:00:41 +0000 (21:00 -0800)
commitadaf356002b27b229ca78c7a728164b3446a39c5
treeb7367852c7b3c0e61bcf0b7dc0f6d18bf32ae1df
parentfda972f6e9936145cda8f7fec55abd6ab6d545b3
i40e: fix error return

If the VF asks to add an invalid MAC address, tell it that instead of
just using a generic return code.

Change-Id: I366aff5449fa5874ad51e2734cac2a71783ab14b
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c