linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Shang XiaoJing <shangxiaojing@huawei.com>,
	leon@kernel.org, jgg@ziepe.ca, linux-rdma@vger.kernel.org,
	dennis.dalessandro@cornelisnetworks.com
Subject: Re: [PATCH -next] IB/hfi1: Use skb_put_data() instead of skb_put/memcpy pair
Date: Tue, 27 Sep 2022 11:12:25 -0300	[thread overview]
Message-ID: <166428794598.151957.330860353611903487.b4-ty@nvidia.com> (raw)
In-Reply-To: <20220927022919.16902-1-shangxiaojing@huawei.com>

On Tue, 27 Sep 2022 10:29:19 +0800, Shang XiaoJing wrote:
> Use skb_put_data() instead of skb_put() and memcpy(), which is shorter
> and clear. Drop the tmp variable that is not needed any more.
> 
> 

Applied, thanks!

[1/1] IB/hfi1: Use skb_put_data() instead of skb_put/memcpy pair
      https://git.kernel.org/rdma/rdma/c/cbdae01d8b517b

Best regards,
-- 
Jason Gunthorpe <jgg@nvidia.com>

      parent reply	other threads:[~2022-09-27 14:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-27  2:29 [PATCH -next] IB/hfi1: Use skb_put_data() instead of skb_put/memcpy pair Shang XiaoJing
2022-09-27 12:10 ` Dennis Dalessandro
2022-09-27 14:12 ` Jason Gunthorpe [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=166428794598.151957.330860353611903487.b4-ty@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dennis.dalessandro@cornelisnetworks.com \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=shangxiaojing@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;
as well as URLs for NNTP newsgroup(s).