nvmet: fix the structure member indentation
Subsystems (2)
PATCH 1/1 nvmet: fix the structure member indentation
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.
--- drivers/nvme/target/nvmet.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/nvme/target/nvmet.h +4 -4
@@ -199,8 +199,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 {
@@ -313,8 +313,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;
Signature · 1 line
2.17.0
PATCH 1/1 nvmet: fix the structure member indentation
Quoted 10 lines · Chaitanya Kulkarni
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 at wdc.com>
Quoted 31 lines
--- drivers/nvme/target/nvmet.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/nvme/target/nvmet.h +4
-4@@ -199,8 +199,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 {@@ -313,8 +313,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;
Sagi Grimberg
maintainerPATCH 1/1 nvmet: fix the structure member indentation
In reply to Chaitanya KulkarniChristoph Hellwig
AppliedPATCH 1/1 nvmet: fix the structure member indentation
In reply to Chaitanya KulkarniThanks, applied to nvme-4.21.