From: m@bjorling.me (Matias Bjørling)
Subject: [PATCH 1/4] nvme: move timeout variables to core.c and export it
Date: Tue, 9 Feb 2016 13:46:37 +0100 [thread overview]
Message-ID: <56B9DFAD.10809@bjorling.me> (raw)
In-Reply-To: <1454970284-29543-2-git-send-email-mlin@kernel.org>
On 02/08/2016 11:24 PM, Ming Lin wrote:
> Signed-off-by: Ming Lin <ming.l at ssi.samsung.com>
> ---
> drivers/nvme/host/core.c | 14 ++++++++++++++
> drivers/nvme/host/pci.c | 12 ------------
> 2 files changed, 14 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
> index c5bf001..3faed20 100644
> --- a/drivers/nvme/host/core.c
> +++ b/drivers/nvme/host/core.c
> @@ -33,6 +33,20 @@
>
> #define NVME_MINORS (1U << MINORBITS)
>
> +unsigned char admin_timeout = 60;
> +module_param(admin_timeout, byte, 0644);
> +MODULE_PARM_DESC(admin_timeout, "timeout in seconds for admin commands");
> +EXPORT_SYMBOL_GPL(admin_timeout);
> +
> +unsigned char nvme_io_timeout = 30;
> +module_param_named(io_timeout, nvme_io_timeout, byte, 0644);
> +MODULE_PARM_DESC(io_timeout, "timeout in seconds for I/O");
> +EXPORT_SYMBOL_GPL(nvme_io_timeout);
Can these be exported without _GPL? There might be a couple of drivers
out of tree which would like to access these variables.
next prev parent reply other threads:[~2016-02-09 12:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-08 22:24 [PATCH 0/4] nvme: split pci module out of core module Ming Lin
2016-02-08 22:24 ` [PATCH 1/4] nvme: move timeout variables to core.c and export it Ming Lin
2016-02-09 9:25 ` Christoph Hellwig
2016-02-09 12:43 ` Johannes Thumshirn
2016-02-09 12:46 ` Matias Bjørling [this message]
2016-02-08 22:24 ` [PATCH 2/4] nvme: export more symbols Ming Lin
2016-02-09 9:25 ` Christoph Hellwig
2016-02-09 12:42 ` Johannes Thumshirn
2016-02-09 12:56 ` Matias Bjørling
2016-02-09 13:07 ` Christoph Hellwig
2016-02-08 22:24 ` [PATCH 3/4] nvme: split dev_list_lock Ming Lin
2016-02-09 9:26 ` Christoph Hellwig
2016-02-09 12:41 ` Johannes Thumshirn
2016-02-09 13:14 ` Christoph Hellwig
2016-02-09 13:34 ` Johannes Thumshirn
2016-02-08 22:24 ` [PATCH 4/4] nvme: split pci module out of core module Ming Lin
2016-02-09 8:56 ` Johannes Thumshirn
2016-02-09 18:26 ` Ming Lin
2016-02-10 13:35 ` Michal Marek
2016-02-09 9:26 ` Christoph Hellwig
2016-02-10 0:09 ` Ming Lin
2016-02-10 15:12 ` Keith Busch
2016-02-10 15:31 ` Ming Lin
2016-02-09 9:24 ` [PATCH 0/4] " Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56B9DFAD.10809@bjorling.me \
--to=m@bjorling.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).