* [PATCH 0/2] nvme: simple cleanup
@ 2020-06-08 16:20 ` Dongli Zhang
0 siblings, 0 replies; 16+ messages in thread
From: Dongli Zhang @ 2020-06-08 16:20 UTC (permalink / raw)
To: linux-nvme; +Cc: linux-kernel, hch, sagi, chaitanya.kulkarni, kbusch, axboe
Just cleanup without functional change.
Thank you very much!
Dongli Zhang
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 0/2] nvme: simple cleanup
@ 2020-06-08 16:20 ` Dongli Zhang
0 siblings, 0 replies; 16+ messages in thread
From: Dongli Zhang @ 2020-06-08 16:20 UTC (permalink / raw)
To: linux-nvme; +Cc: sagi, chaitanya.kulkarni, linux-kernel, axboe, kbusch, hch
Just cleanup without functional change.
Thank you very much!
Dongli Zhang
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
2020-06-08 16:20 ` Dongli Zhang
@ 2020-06-08 16:20 ` Dongli Zhang
-1 siblings, 0 replies; 16+ messages in thread
From: Dongli Zhang @ 2020-06-08 16:20 UTC (permalink / raw)
To: linux-nvme; +Cc: linux-kernel, hch, sagi, chaitanya.kulkarni, kbusch, axboe
This field is never used since the introduction of nvme loopback by
commit 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver").
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
---
drivers/nvme/target/loop.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nvme/target/loop.c b/drivers/nvme/target/loop.c
index 0d54e730cbf2..e8fa70c15143 100644
--- a/drivers/nvme/target/loop.c
+++ b/drivers/nvme/target/loop.c
@@ -36,7 +36,6 @@ struct nvme_loop_ctrl {
struct nvme_loop_iod async_event_iod;
struct nvme_ctrl ctrl;
- struct nvmet_ctrl *target_ctrl;
struct nvmet_port *port;
};
--
2.17.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
@ 2020-06-08 16:20 ` Dongli Zhang
0 siblings, 0 replies; 16+ messages in thread
From: Dongli Zhang @ 2020-06-08 16:20 UTC (permalink / raw)
To: linux-nvme; +Cc: sagi, chaitanya.kulkarni, linux-kernel, axboe, kbusch, hch
This field is never used since the introduction of nvme loopback by
commit 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver").
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
---
drivers/nvme/target/loop.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nvme/target/loop.c b/drivers/nvme/target/loop.c
index 0d54e730cbf2..e8fa70c15143 100644
--- a/drivers/nvme/target/loop.c
+++ b/drivers/nvme/target/loop.c
@@ -36,7 +36,6 @@ struct nvme_loop_ctrl {
struct nvme_loop_iod async_event_iod;
struct nvme_ctrl ctrl;
- struct nvmet_ctrl *target_ctrl;
struct nvmet_port *port;
};
--
2.17.1
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
2020-06-08 16:20 ` Dongli Zhang
@ 2020-06-08 16:20 ` Dongli Zhang
-1 siblings, 0 replies; 16+ messages in thread
From: Dongli Zhang @ 2020-06-08 16:20 UTC (permalink / raw)
To: linux-nvme; +Cc: linux-kernel, hch, sagi, chaitanya.kulkarni, kbusch, axboe
Just cleanup by removing the empty line.
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
---
drivers/nvme/host/pci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index d690d5593a80..4471e9910906 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -1153,7 +1153,6 @@ static void abort_endio(struct request *req, blk_status_t error)
static bool nvme_should_reset(struct nvme_dev *dev, u32 csts)
{
-
/* If true, indicates loss of adapter communication, possibly by a
* NVMe Subsystem reset.
*/
--
2.17.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
@ 2020-06-08 16:20 ` Dongli Zhang
0 siblings, 0 replies; 16+ messages in thread
From: Dongli Zhang @ 2020-06-08 16:20 UTC (permalink / raw)
To: linux-nvme; +Cc: sagi, chaitanya.kulkarni, linux-kernel, axboe, kbusch, hch
Just cleanup by removing the empty line.
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
---
drivers/nvme/host/pci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index d690d5593a80..4471e9910906 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -1153,7 +1153,6 @@ static void abort_endio(struct request *req, blk_status_t error)
static bool nvme_should_reset(struct nvme_dev *dev, u32 csts)
{
-
/* If true, indicates loss of adapter communication, possibly by a
* NVMe Subsystem reset.
*/
--
2.17.1
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
2020-06-08 16:20 ` Dongli Zhang
@ 2020-06-08 16:56 ` Sagi Grimberg
-1 siblings, 0 replies; 16+ messages in thread
From: Sagi Grimberg @ 2020-06-08 16:56 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme
Cc: linux-kernel, hch, chaitanya.kulkarni, kbusch, axboe
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
@ 2020-06-08 16:56 ` Sagi Grimberg
0 siblings, 0 replies; 16+ messages in thread
From: Sagi Grimberg @ 2020-06-08 16:56 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme
Cc: kbusch, axboe, linux-kernel, chaitanya.kulkarni, hch
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
2020-06-08 16:20 ` Dongli Zhang
@ 2020-06-08 16:56 ` Sagi Grimberg
-1 siblings, 0 replies; 16+ messages in thread
From: Sagi Grimberg @ 2020-06-08 16:56 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme
Cc: linux-kernel, hch, chaitanya.kulkarni, kbusch, axboe
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
@ 2020-06-08 16:56 ` Sagi Grimberg
0 siblings, 0 replies; 16+ messages in thread
From: Sagi Grimberg @ 2020-06-08 16:56 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme
Cc: kbusch, axboe, linux-kernel, chaitanya.kulkarni, hch
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
2020-06-08 16:20 ` Dongli Zhang
@ 2020-06-08 21:34 ` Chaitanya Kulkarni
-1 siblings, 0 replies; 16+ messages in thread
From: Chaitanya Kulkarni @ 2020-06-08 21:34 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme; +Cc: linux-kernel, hch, sagi, kbusch, axboe
On 6/8/20 9:29 AM, Dongli Zhang wrote:
> This field is never used since the introduction of nvme loopback by
> commit 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver").
>
> Signed-off-by: Dongli Zhang<dongli.zhang@oracle.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl
@ 2020-06-08 21:34 ` Chaitanya Kulkarni
0 siblings, 0 replies; 16+ messages in thread
From: Chaitanya Kulkarni @ 2020-06-08 21:34 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme; +Cc: sagi, kbusch, axboe, linux-kernel, hch
On 6/8/20 9:29 AM, Dongli Zhang wrote:
> This field is never used since the introduction of nvme loopback by
> commit 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver").
>
> Signed-off-by: Dongli Zhang<dongli.zhang@oracle.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
2020-06-08 16:20 ` Dongli Zhang
@ 2020-06-08 21:34 ` Chaitanya Kulkarni
-1 siblings, 0 replies; 16+ messages in thread
From: Chaitanya Kulkarni @ 2020-06-08 21:34 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme; +Cc: sagi, linux-kernel, axboe, kbusch, hch
On 6/8/20 9:29 AM, Dongli Zhang wrote:
> Just cleanup by removing the empty line.
>
> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
> ---
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset()
@ 2020-06-08 21:34 ` Chaitanya Kulkarni
0 siblings, 0 replies; 16+ messages in thread
From: Chaitanya Kulkarni @ 2020-06-08 21:34 UTC (permalink / raw)
To: Dongli Zhang, linux-nvme; +Cc: axboe, kbusch, hch, sagi, linux-kernel
On 6/8/20 9:29 AM, Dongli Zhang wrote:
> Just cleanup by removing the empty line.
>
> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
> ---
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/2] nvme: simple cleanup
2020-06-08 16:20 ` Dongli Zhang
@ 2020-06-09 13:55 ` Christoph Hellwig
-1 siblings, 0 replies; 16+ messages in thread
From: Christoph Hellwig @ 2020-06-09 13:55 UTC (permalink / raw)
To: Dongli Zhang
Cc: linux-nvme, linux-kernel, hch, sagi, chaitanya.kulkarni, kbusch, axboe
Thanks,
applied to nvme-5.9.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/2] nvme: simple cleanup
@ 2020-06-09 13:55 ` Christoph Hellwig
0 siblings, 0 replies; 16+ messages in thread
From: Christoph Hellwig @ 2020-06-09 13:55 UTC (permalink / raw)
To: Dongli Zhang
Cc: sagi, chaitanya.kulkarni, linux-kernel, linux-nvme, axboe, kbusch, hch
Thanks,
applied to nvme-5.9.
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2020-06-09 13:55 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 16:20 [PATCH 0/2] nvme: simple cleanup Dongli Zhang
2020-06-08 16:20 ` Dongli Zhang
2020-06-08 16:20 ` [PATCH 1/2] nvmet-loop: remove unused 'target_ctrl' in nvme_loop_ctrl Dongli Zhang
2020-06-08 16:20 ` Dongli Zhang
2020-06-08 16:56 ` Sagi Grimberg
2020-06-08 16:56 ` Sagi Grimberg
2020-06-08 21:34 ` Chaitanya Kulkarni
2020-06-08 21:34 ` Chaitanya Kulkarni
2020-06-08 16:20 ` [PATCH 2/2] nvme-pci: remove empty line following nvme_should_reset() Dongli Zhang
2020-06-08 16:20 ` Dongli Zhang
2020-06-08 16:56 ` Sagi Grimberg
2020-06-08 16:56 ` Sagi Grimberg
2020-06-08 21:34 ` Chaitanya Kulkarni
2020-06-08 21:34 ` Chaitanya Kulkarni
2020-06-09 13:55 ` [PATCH 0/2] nvme: simple cleanup Christoph Hellwig
2020-06-09 13:55 ` Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.