]> www.infradead.org Git - users/hch/block.git/commit
dma-mapping: initialize IOVA state struct
authorLeon Romanovsky <leonro@nvidia.com>
Tue, 16 Jul 2024 11:32:34 +0000 (14:32 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 3 Oct 2024 16:05:52 +0000 (19:05 +0300)
commit7c22783a517cf8e35bac75702dc4ef458f2088c4
tree48b202addcce6cc7b3a998615ac985ddc970105d
parenta5e66eace3a868309dd933131ebc707291d7cd15
dma-mapping: initialize IOVA state struct

Allow callers to properly initialize the IOVA state struct by providing
a new function to do so. This will make sure that even users who doesn't
zero their allocated memory will have a valid IOVA state struct.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
include/linux/dma-mapping.h