projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb019da
)
nvmet: fix the structure member indentation
author
Chaitanya Kulkarni
<chaitanya.kulkarni@wdc.com>
Mon, 19 Nov 2018 23:16:39 +0000
(15:16 -0800)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/target/nvmet.h
b/drivers/nvme/target/nvmet.h
index 547108c41ce91c14963f8ee38dca5f108536c8f8..7d8b7a7d572a868e136495b87dd2b5475195179f 100644
(file)
--- a/
drivers/nvme/target/nvmet.h
+++ b/
drivers/nvme/target/nvmet.h
@@
-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;