ACK/cmnt: [SRU][Bionic][PATCH 1/1] nvme: Use admin command effects for admin commands

Kleber Souza kleber.souza at canonical.com
Wed Jan 9 08:22:05 UTC 2019


On 1/8/19 8:57 PM, Joseph Salisbury wrote:
> From: Keith Busch <keith.busch at intel.com>
>
> BugLink: https://bugs.launchpad.net/bugs/1797587
>
> Signed-off-by: Keith Busch <keith.busch at intel.com>
> Signed-off-by: Jens Axboe <axboe at kernel.dk>
> (cherry picked from commit 62843c2e4226057c83f520c74fe9c81a1891c331)
> Signed-off-by: Joseph Salisbury <joseph.salisbury at canonical.com>

The commit doesn't really have a message apart from the s-o-b's, the
missing line pointed out by Colin is actually the subject line, so the
patch looks fine:

Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>

> ---
>  drivers/nvme/host/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
> index c5dfca8..42f6202 100644
> --- a/drivers/nvme/host/core.c
> +++ b/drivers/nvme/host/core.c
> @@ -1054,7 +1054,7 @@ static u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
>  	}
>  
>  	if (ctrl->effects)
> -		effects = le32_to_cpu(ctrl->effects->iocs[opcode]);
> +		effects = le32_to_cpu(ctrl->effects->acs[opcode]);
>  	else
>  		effects = nvme_known_admin_effects(opcode);
>  





More information about the kernel-team mailing list