OSDN Git Service

nvmet: fix indentation
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Feb 2019 22:50:52 +0000 (14:50 -0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Feb 2019 14:17:49 +0000 (07:17 -0700)
This patch avoids that smatch complains about inconsistent indentation.

Fixes: a07b4970f464 ("nvmet: add a generic NVMe target") # v4.10
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/discovery.c

index d2cb71a..a34cf49 100644 (file)
@@ -331,7 +331,7 @@ u16 nvmet_parse_discovery_cmd(struct nvmet_req *req)
                               cmd->get_log_page.lid);
                        req->error_loc =
                                offsetof(struct nvme_get_log_page_command, lid);
-               return NVME_SC_INVALID_OPCODE | NVME_SC_DNR;
+                       return NVME_SC_INVALID_OPCODE | NVME_SC_DNR;
                }
        case nvme_admin_identify:
                req->data_len = NVME_IDENTIFY_DATA_SIZE;