[SRU][Bionic][PATCH 1/1] nvme: Use admin command effects for admin commands
Colin Ian King
colin.king at canonical.com
Tue Jan 8 20:05:11 UTC 2019
On 08/01/2019 19:57, Joseph Salisbury wrote:
> From: Keith Busch <keith.busch at intel.com>
>
> BugLink: https://bugs.launchpad.net/bugs/1797587
>
The patch is missing the following text from the commit message:
"nvme: Use admin command effects for admin commands"
> 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>
> ---
> 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