From a0dfaec0f6e8754eba43c7c333be4f31d0c41912 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 22 Mar 2023 17:14:12 +0100 Subject: [PATCH] nvme: Use correct ABORT type for self abort test The enum type is not matching, use the correct one. Signed-off-by: Daniel Wagner --- nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvme.c b/nvme.c index 3bc4b2a8..a504f4cf 100644 --- a/nvme.c +++ b/nvme.c @@ -4338,7 +4338,7 @@ static void abort_self_test(struct nvme_dev_self_test_args *args) { int err; - args->stc = NVME_ST_CODE_ABORT, + args->stc = NVME_DST_STC_ABORT; err = nvme_dev_self_test(args); if (!err) { -- 2.50.1