[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210618141817.GA18781@lst.de>
Date: Fri, 18 Jun 2021 16:18:17 +0200
From: Christoph Hellwig <hch@....de>
To: zhouchuangao <zhouchuangao@...o.com>
Cc: Keith Busch <kbusch@...nel.org>, Jens Axboe <axboe@...com>,
Christoph Hellwig <hch@....de>,
Sagi Grimberg <sagi@...mberg.me>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/nvme/host: Use kobj_to_dev() API
On Fri, Jun 18, 2021 at 07:10:58AM -0700, zhouchuangao wrote:
> Use kobj_to_dev() API instead of container_of().
Why? That just makes the code harder to read.
Powered by blists - more mailing lists