[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251022061418.GC4317@lst.de>
Date: Wed, 22 Oct 2025 08:14:18 +0200
From: Christoph Hellwig <hch@....de>
To: Leon Romanovsky <leon@...nel.org>
Cc: Jens Axboe <axboe@...nel.dk>, Keith Busch <kbusch@...nel.org>,
Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-nvme@...ts.infradead.org
Subject: Re: [PATCH v2 1/2] nvme-pci: migrate to dma_map_phys instead of
map_page
This actually has block and nvme bits, so the subject line should
say that.
> + unsigned int attrs = 0;
attrs is always zero here, no need to start passing it for the
map_phys conversion alone.
> + unsigned int attrs = 0;
Same here.
> + unsigned int attrs;
And this is also entirely unused as far as I can tell.
Powered by blists - more mailing lists