All of lore.kernel.org
 help / color / mirror / Atom feed
From: "tiantao (H)" <tiantao6@hisilicon.com>
To: Christoph Hellwig <hch@lst.de>
Cc: "kbusch@kernel.org" <kbusch@kernel.org>,
	"axboe@fb.com" <axboe@fb.com>,
	"sagi@grimberg.me" <sagi@grimberg.me>,
	"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>,
	Linuxarm <linuxarm@huawei.com>
Subject: 答复: [PATCH] nvme: Use kobj_to_dev() instead of container_of()
Date: Wed, 26 Aug 2020 06:29:52 +0000	[thread overview]
Message-ID: <e0c1fc5cbbeb4bb4985f86c3f648df5b@hisilicon.com> (raw)
In-Reply-To: <20200826054417.GA15738@lst.de>

Doesn't really matter for an individual driver, but it may get coppied to lots more. 
I consider it's a little tidy up. 

-----邮件原件-----
发件人: Christoph Hellwig [mailto:hch@lst.de] 
发送时间: 2020年8月26日 13:44
收件人: tiantao (H) <tiantao6@hisilicon.com>
抄送: kbusch@kernel.org; axboe@fb.com; hch@lst.de; sagi@grimberg.me; linux-nvme@lists.infradead.org; Linuxarm <linuxarm@huawei.com>
主题: Re: [PATCH] nvme: Use kobj_to_dev() instead of container_of()

On Wed, Aug 26, 2020 at 09:20:48AM +0800, Tian Tao wrote:
> Use kobj_to_dev() instead of container_of()

Why?
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

      reply	other threads:[~2020-08-26  6:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-26  1:20 [PATCH] nvme: Use kobj_to_dev() instead of container_of() Tian Tao
2020-08-26  5:44 ` Christoph Hellwig
2020-08-26  6:29   ` tiantao (H) [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=e0c1fc5cbbeb4bb4985f86c3f648df5b@hisilicon.com \
    --to=tiantao6@hisilicon.com \
    --cc=axboe@fb.com \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=linuxarm@huawei.com \
    --cc=sagi@grimberg.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 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.