Jingjing Wu 90f12e7a4d net/i40evf: fix return value if admin queue command fails
Previously, if an adminq message is sent successfully, but no response is
received, function "i40evf_execute_vf_cmd" will return without error.
The root cause is value "err" is overwritten. This patch fixes this by
ensuring the value of err is set appropriately for each cmd.

Fixes: ae19955e7c86 ("i40evf: support reporting PF reset")

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
2016-06-15 17:13:54 +02:00
..
2016-04-06 15:49:17 +02:00
2015-07-19 21:22:23 +02:00
2016-06-23 22:39:01 +02:00
2016-06-07 10:02:39 +02:00