* [PATCH 0/3] nvme trailing whitespace cleanup
@ 2021-04-10 20:15 Niklas Cassel
2021-04-10 20:15 ` [PATCH 1/3] nvme-pci: remove single trailing whitespace Niklas Cassel
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Niklas Cassel @ 2021-04-10 20:15 UTC (permalink / raw)
To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg
Cc: Niklas Cassel, linux-nvme, linux-kernel
Hello nvme peeps,
This series removes all the trailing whitespace I could find using:
git grep '[[:blank:]]$' drivers/nvme
So this should remove all the existing trailing whitespace in
drivers/nvme/*
Kind regards,
Niklas
Niklas Cassel (3):
nvme-pci: remove single trailing whitespace
nvme-multipath: remove single trailing whitespace
nvme: remove single trailing whitespace
drivers/nvme/host/core.c | 2 +-
drivers/nvme/host/multipath.c | 2 +-
drivers/nvme/host/pci.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.30.2
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] nvme-pci: remove single trailing whitespace
2021-04-10 20:15 [PATCH 0/3] nvme trailing whitespace cleanup Niklas Cassel
@ 2021-04-10 20:15 ` Niklas Cassel
2021-04-10 20:15 ` [PATCH 2/3] nvme-multipath: " Niklas Cassel
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Niklas Cassel @ 2021-04-10 20:15 UTC (permalink / raw)
To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg
Cc: Niklas Cassel, linux-nvme, linux-kernel
There is a single trailing whitespace in pci.c.
Since this is just a single whitespace, the chances of this affecting
backports to stable should be quite low, so let's just remove it.
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
---
drivers/nvme/host/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index b06e685d1250..09d4c5f99fc3 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -2172,7 +2172,7 @@ static int nvme_setup_io_queues(struct nvme_dev *dev)
if (nr_io_queues == 0)
return 0;
-
+
clear_bit(NVMEQ_ENABLED, &adminq->flags);
if (dev->cmb_use_sqes) {
--
2.30.2
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] nvme-multipath: remove single trailing whitespace
2021-04-10 20:15 [PATCH 0/3] nvme trailing whitespace cleanup Niklas Cassel
2021-04-10 20:15 ` [PATCH 1/3] nvme-pci: remove single trailing whitespace Niklas Cassel
@ 2021-04-10 20:15 ` Niklas Cassel
2021-04-10 20:16 ` [PATCH 3/3] nvme: " Niklas Cassel
2021-04-12 7:51 ` [PATCH 0/3] nvme trailing whitespace cleanup Christoph Hellwig
3 siblings, 0 replies; 5+ messages in thread
From: Niklas Cassel @ 2021-04-10 20:15 UTC (permalink / raw)
To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg
Cc: Niklas Cassel, linux-nvme, linux-kernel
There is a single trailing whitespace in multipath.c.
Since this is just a single whitespace, the chances of this affecting
backports to stable should be quite low, so let's just remove it.
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
---
drivers/nvme/host/multipath.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c
index 2bbc1685799d..68918ea1d3d0 100644
--- a/drivers/nvme/host/multipath.c
+++ b/drivers/nvme/host/multipath.c
@@ -697,7 +697,7 @@ void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id)
queue_work(nvme_wq, &ns->ctrl->ana_work);
}
} else {
- ns->ana_state = NVME_ANA_OPTIMIZED;
+ ns->ana_state = NVME_ANA_OPTIMIZED;
nvme_mpath_set_live(ns);
}
--
2.30.2
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] nvme: remove single trailing whitespace
2021-04-10 20:15 [PATCH 0/3] nvme trailing whitespace cleanup Niklas Cassel
2021-04-10 20:15 ` [PATCH 1/3] nvme-pci: remove single trailing whitespace Niklas Cassel
2021-04-10 20:15 ` [PATCH 2/3] nvme-multipath: " Niklas Cassel
@ 2021-04-10 20:16 ` Niklas Cassel
2021-04-12 7:51 ` [PATCH 0/3] nvme trailing whitespace cleanup Christoph Hellwig
3 siblings, 0 replies; 5+ messages in thread
From: Niklas Cassel @ 2021-04-10 20:16 UTC (permalink / raw)
To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg
Cc: Niklas Cassel, linux-nvme, linux-kernel
There is a single trailing whitespace in core.c.
Since this is just a single whitespace, the chances of this affecting
backports to stable should be quite low, so let's just remove it.
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
---
drivers/nvme/host/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index c739e4c5b621..288ac47ff5b4 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -2909,7 +2909,7 @@ int nvme_init_ctrl_finish(struct nvme_ctrl *ctrl)
ret = nvme_configure_apst(ctrl);
if (ret < 0)
return ret;
-
+
ret = nvme_configure_timestamp(ctrl);
if (ret < 0)
return ret;
--
2.30.2
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] nvme trailing whitespace cleanup
2021-04-10 20:15 [PATCH 0/3] nvme trailing whitespace cleanup Niklas Cassel
` (2 preceding siblings ...)
2021-04-10 20:16 ` [PATCH 3/3] nvme: " Niklas Cassel
@ 2021-04-12 7:51 ` Christoph Hellwig
3 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2021-04-12 7:51 UTC (permalink / raw)
To: Niklas Cassel
Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
linux-nvme, linux-kernel
Thanks,
applied to nvme-5.13.
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-04-12 7:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10 20:15 [PATCH 0/3] nvme trailing whitespace cleanup Niklas Cassel
2021-04-10 20:15 ` [PATCH 1/3] nvme-pci: remove single trailing whitespace Niklas Cassel
2021-04-10 20:15 ` [PATCH 2/3] nvme-multipath: " Niklas Cassel
2021-04-10 20:16 ` [PATCH 3/3] nvme: " Niklas Cassel
2021-04-12 7:51 ` [PATCH 0/3] nvme trailing whitespace cleanup Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).