Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] nvme-core: change commas to semicolons in nvme_get_log_page
@ 2017-06-18 13:15 Sagi Grimberg
  2017-06-18 13:15 ` [PATCH v2 2/2] nvme: use a single NVME_AQ_DEPTH and relax it to 32 Sagi Grimberg
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sagi Grimberg @ 2017-06-18 13:15 UTC (permalink / raw)


Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
---
 drivers/nvme/host/core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 4ff5114f467d..17a10549d688 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -815,11 +815,11 @@ int nvme_get_log_page(struct nvme_ctrl *dev, struct nvme_smart_log **log)
 	struct nvme_command c = { };
 	int error;
 
-	c.common.opcode = nvme_admin_get_log_page,
-	c.common.nsid = cpu_to_le32(0xFFFFFFFF),
+	c.common.opcode = nvme_admin_get_log_page;
+	c.common.nsid = cpu_to_le32(0xFFFFFFFF);
 	c.common.cdw10[0] = cpu_to_le32(
 			(((sizeof(struct nvme_smart_log) / 4) - 1) << 16) |
-			 NVME_LOG_SMART),
+			 NVME_LOG_SMART);
 
 	*log = kmalloc(sizeof(struct nvme_smart_log), GFP_KERNEL);
 	if (!*log)
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-06-19 16:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-18 13:15 [PATCH v2 1/2] nvme-core: change commas to semicolons in nvme_get_log_page Sagi Grimberg
2017-06-18 13:15 ` [PATCH v2 2/2] nvme: use a single NVME_AQ_DEPTH and relax it to 32 Sagi Grimberg
2017-06-18 15:10   ` Max Gurtovoy
2017-06-19  6:58   ` Christoph Hellwig
2017-06-19 16:01   ` Keith Busch
2017-06-19 16:47     ` Sagi Grimberg
2017-06-19 16:28   ` Martin K. Petersen
2017-06-18 15:10 ` [PATCH v2 1/2] nvme-core: change commas to semicolons in nvme_get_log_page Max Gurtovoy
2017-06-19  6:59 ` Christoph Hellwig
2017-06-19  8:06   ` Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox