From: keith.busch@intel.com (Keith Busch)
Subject: [PATCH] NVMe: Use namespace list for scanning device
Date: Fri, 4 Sep 2015 17:49:18 +0000 (UTC) [thread overview]
Message-ID: <alpine.LNX.2.00.1509041747240.23840@localhost.lm.intel.com> (raw)
In-Reply-To: <1441386733-5554-1-git-send-email-keith.busch@intel.com>
On Fri, 4 Sep 2015, Keith Busch wrote:
> +static int nvme_scan_ns_list(struct nvme_dev *dev, int nn)
> +{
> + int i, j, k, ret = 0;
> + struct nvme_ns *ns;
> + u32 *ns_list, nsid, prev = 0;
> + unsigned num_lists = DIV_ROUND_UP(nn, 1024);
> +
> + ns_list = kmalloc(0x1000, GFP_KERNEL);
> + if (!*ns_list)
> + return -ENOMEM;
code copy-paste fail... That should be
if (!ns_list)
return -ENOMEM;
Will resend.
prev parent reply other threads:[~2015-09-04 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 17:12 [PATCH] NVMe: Use namespace list for scanning device Keith Busch
2015-09-04 17:49 ` Keith Busch [this message]
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=alpine.LNX.2.00.1509041747240.23840@localhost.lm.intel.com \
--to=keith.busch@intel.com \
/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