OSDN Git Service

nvmet: fix the structure member indentation
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 19 Nov 2018 23:16:39 +0000 (15:16 -0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:58 +0000 (22:26 -0700)
This is a cleanup patch which fixes the structure member indentation
introduced by the p2p:

commit c6925093d0b2 ("nvmet: Optionally use PCI P2P memory").
We don't change any functionality in this patch.

This is needed so that any future members will also follow the uniform
indentation.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/nvmet.h

index 547108c..7d8b7a7 100644 (file)
@@ -200,8 +200,8 @@ struct nvmet_ctrl {
        char                    subsysnqn[NVMF_NQN_FIELD_LEN];
        char                    hostnqn[NVMF_NQN_FIELD_LEN];
 
-       struct device *p2p_client;
-       struct radix_tree_root p2p_ns_map;
+       struct device           *p2p_client;
+       struct radix_tree_root  p2p_ns_map;
 };
 
 struct nvmet_subsys {
@@ -314,8 +314,8 @@ struct nvmet_req {
        void (*execute)(struct nvmet_req *req);
        const struct nvmet_fabrics_ops *ops;
 
-       struct pci_dev *p2p_dev;
-       struct device *p2p_client;
+       struct pci_dev          *p2p_dev;
+       struct device           *p2p_client;
 };
 
 extern struct workqueue_struct *buffered_io_wq;