Re: [PATCH v5 09/16] nvme-pci: implement dma-buf backed requests
Pavel Begunkov <[email protected]> Tue, 4 Aug 2026 09:41:47 +0100
| Newsgroups | gmane.linux.block,gmane.linux.kernel,gmane.linux.file-systems,gmane.linux.kernel.io-uring,gmane.linux.drivers.video-input-infrastructure,gmane.comp.video.dri.devel,gmane.comp.file-systems.btrfs,gmane.comp.file-systems.ceph.devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/4/26 08:29, Anuj Gupta/Anuj Gupta wrote: > On 8/1/2026 9:16 PM, Pavel Begunkov wrote: ...>> + if (WARN_ON_ONCE(seg_shift < NVME_CTRL_PAGE_SHIFT)) >> + return ERR_PTR(-EFAULT); > > This should be 'goto err;' instead of a direct return. If this ever > triggers, it leaks the map and already established sgt mapping. I can change it as I'm going to respin the series anyway, but it doesn't really matter here as it's a warning and shouldn't happen. -- Pavel Begunkov