From: wangyijing@huawei.com (Yijing Wang)
Subject: [PATCH] NVMe: Remove the redundant sg_mar_end()
Date: Fri, 19 Jun 2015 09:19:34 +0800 [thread overview]
Message-ID: <55836E26.8070206@huawei.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1506181458240.15930@localhost.lm.intel.com>
On 2015/6/18 23:04, Keith Busch wrote:
> On Thu, 18 Jun 2015, Yijing Wang wrote:
>> sg_init_table() already called sg_mark_end(),
>> remove the redundant one.
>
> Your repository must be pointing to an older branch. This function doesn't
> exist in the most current driver staged in the linux-block/for-next tree.
Sorry, my repository is linus's master branch, this code has been removed in latest nvme-core.c, please drop this patch.
Thanks!
Yijing.
>
>> @@ -1708,7 +1708,6 @@ struct nvme_iod *nvme_map_user_pages(struct nvme_dev *dev, int write,
>> length -= (PAGE_SIZE - offset);
>> offset = 0;
>> }
>> - sg_mark_end(&sg[i - 1]);
>> iod->nents = count;
>>
>> nents = dma_map_sg(&dev->pci_dev->dev, sg, count,
>
>
--
Thanks!
Yijing
prev parent reply other threads:[~2015-06-19 1:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 11:22 [PATCH] NVMe: Remove the redundant sg_mar_end() Yijing Wang
2015-06-18 15:04 ` Keith Busch
2015-06-19 1:19 ` Yijing Wang [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=55836E26.8070206@huawei.com \
--to=wangyijing@huawei.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