swiotlb: move slot allocation explanation comment where it belongs
authorPetr Tesarik <petr.tesarik.ext@huawei.com>
Wed, 2 Aug 2023 16:30:34 +0000 (18:30 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 8 Aug 2023 17:29:06 +0000 (10:29 -0700)
commitf94cb36e760d2a4d359ad64f5fafc62ca755fd72
tree80360c9e57b832efb78c95a8a145744bf419b953
parent1395706a14904f2593debecf20f827e72d7392a7
swiotlb: move slot allocation explanation comment where it belongs

Move the comment down in front of the loop that actually sets the list
member of struct io_tlb_slot to zero.

Fixes: 26a7e094783d ("swiotlb: refactor swiotlb_tbl_map_single")
Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/swiotlb.c