[Intel-wired-lan] [next PATCH S75-V4 04/11] i40e: synchronize nvmupdate command and adminq subtask
Shannon Nelson
shannon.nelson at oracle.com
Mon Jul 24 16:47:49 UTC 2017
On 7/21/2017 8:18 AM, Alice Michael wrote:
> From: Sudheer Mogilappagari <sudheer.mogilappagari at intel.com>
>
[...]
> @@ -773,7 +782,8 @@ i40e_status i40e_nvmupd_command(struct i40e_hw *hw,
> */
> if (cmd->offset == 0xffff) {
> i40e_nvmupd_check_wait_event(hw, hw->nvm_wait_opcode);
> - return 0;
> + status = 0;
> + goto exit;
> }
>
> status = I40E_ERR_NOT_READY;
> @@ -788,6 +798,8 @@ i40e_status i40e_nvmupd_command(struct i40e_hw *hw,
> *perrno = -ESRCH;
> break;
> }
> +exit:
> + mutex_unlock(&hw->aq.arq_mutex);
> return status;
> }
>
>
Thanks, that's better.
sln
More information about the Intel-wired-lan
mailing list