90f12e7a4d
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>