aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/nvme.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/nvme.c')
-rw-r--r--drivers/block/nvme.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c
index 2a0dd5e60347..71bdf6f2c93b 100644
--- a/drivers/block/nvme.c
+++ b/drivers/block/nvme.c
@@ -184,9 +184,9 @@ enum {
184}; 184};
185 185
186#define CMD_CTX_BASE (POISON_POINTER_DELTA + sync_completion_id) 186#define CMD_CTX_BASE (POISON_POINTER_DELTA + sync_completion_id)
187#define CMD_CTX_CANCELLED (0x2008 + CMD_CTX_BASE) 187#define CMD_CTX_CANCELLED (0x30C + CMD_CTX_BASE)
188#define CMD_CTX_COMPLETED (0x2010 + CMD_CTX_BASE) 188#define CMD_CTX_COMPLETED (0x310 + CMD_CTX_BASE)
189#define CMD_CTX_INVALID (0x2014 + CMD_CTX_BASE) 189#define CMD_CTX_INVALID (0x314 + CMD_CTX_BASE)
190 190
191static unsigned long free_cmdid(struct nvme_queue *nvmeq, int cmdid) 191static unsigned long free_cmdid(struct nvme_queue *nvmeq, int cmdid)
192{ 192{