* [PATCH] nvme: make nvme_get_log_ext non-static
@ 2018-03-21 19:27 ` Matias Bjørling
0 siblings, 0 replies; 4+ messages in thread
From: Matias Bjørling @ 2018-03-21 19:27 UTC (permalink / raw)
To: keith.busch; +Cc: linux-kernel, linux-nvme, hch, sagi, Matias Bjørling
Enable the lightnvm integration to use the nvme_get_log_ext()
function.
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
---
drivers/nvme/host/core.c | 2 +-
drivers/nvme/host/nvme.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 00ad24728074..e33527c84cd7 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -2215,7 +2215,7 @@ static int nvme_init_subsystem(struct nvme_ctrl *ctrl, struct nvme_id_ctrl *id)
return ret;
}
-static int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
+int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
u8 log_page, void *log,
size_t size, size_t offset)
{
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index eaa3af096eec..4cfd890ff5ca 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -428,6 +428,9 @@ int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl);
int nvme_delete_ctrl(struct nvme_ctrl *ctrl);
int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl);
+int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
+ u8 log_page, void *log, size_t size, size_t offset);
+
extern const struct attribute_group nvme_ns_id_attr_group;
extern const struct block_device_operations nvme_ns_head_ops;
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] nvme: make nvme_get_log_ext non-static
@ 2018-03-21 19:27 ` Matias Bjørling
0 siblings, 0 replies; 4+ messages in thread
From: Matias Bjørling @ 2018-03-21 19:27 UTC (permalink / raw)
Enable the lightnvm integration to use the nvme_get_log_ext()
function.
Signed-off-by: Matias Bj?rling <mb at lightnvm.io>
---
drivers/nvme/host/core.c | 2 +-
drivers/nvme/host/nvme.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 00ad24728074..e33527c84cd7 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -2215,7 +2215,7 @@ static int nvme_init_subsystem(struct nvme_ctrl *ctrl, struct nvme_id_ctrl *id)
return ret;
}
-static int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
+int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
u8 log_page, void *log,
size_t size, size_t offset)
{
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index eaa3af096eec..4cfd890ff5ca 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -428,6 +428,9 @@ int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl);
int nvme_delete_ctrl(struct nvme_ctrl *ctrl);
int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl);
+int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
+ u8 log_page, void *log, size_t size, size_t offset);
+
extern const struct attribute_group nvme_ns_id_attr_group;
extern const struct block_device_operations nvme_ns_head_ops;
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] nvme: make nvme_get_log_ext non-static
2018-03-21 19:27 ` Matias Bjørling
@ 2018-03-21 20:54 ` Keith Busch
-1 siblings, 0 replies; 4+ messages in thread
From: Keith Busch @ 2018-03-21 20:54 UTC (permalink / raw)
To: Matias Bjørling; +Cc: linux-kernel, linux-nvme, hch, sagi
On Wed, Mar 21, 2018 at 08:27:07PM +0100, Matias Bjørling wrote:
> Enable the lightnvm integration to use the nvme_get_log_ext()
> function.
>
> Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Thanks, applied to nvme-4.17.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] nvme: make nvme_get_log_ext non-static
@ 2018-03-21 20:54 ` Keith Busch
0 siblings, 0 replies; 4+ messages in thread
From: Keith Busch @ 2018-03-21 20:54 UTC (permalink / raw)
On Wed, Mar 21, 2018@08:27:07PM +0100, Matias Bj?rling wrote:
> Enable the lightnvm integration to use the nvme_get_log_ext()
> function.
>
> Signed-off-by: Matias Bj?rling <mb at lightnvm.io>
Thanks, applied to nvme-4.17.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-21 20:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21 19:27 [PATCH] nvme: make nvme_get_log_ext non-static Matias Bjørling
2018-03-21 19:27 ` Matias Bjørling
2018-03-21 20:54 ` Keith Busch
2018-03-21 20:54 ` Keith Busch
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.