[PATCH] nvmet: pass back cntlid on successful completion
Sagi Grimberg
sagi at grimberg.me
Fri Aug 6 12:34:57 PDT 2021
> status = nvmet_install_queue(ctrl, req);
> - if (status) {
> - /* pass back cntlid that had the issue of installing queue */
> - req->cqe->result.u16 = cpu_to_le16(ctrl->cntlid);
> +
No need for this newline
> + if (status)
> goto out_ctrl_put;
> - }
> +
> + /* pass back cntlid for successful completion */
> + req->cqe->result.u16 = cpu_to_le16(ctrl->cntlid);
>
> pr_debug("adding queue %d to ctrl %d.\n", qid, ctrl->cntlid);
>
>
More information about the Linux-nvme
mailing list