Skip to content

Commit ce6fab9

Browse files
efzrhJonathan Corbet
authored andcommitted
docs/core-api: swiotlb: fix typos
Correct references to swiotlb_tbl_map_single() and swiotlb_tbl_unmap_single() in the documentation for swiotlb. Fix two small typos that went unnoticed in commit c93f261 ("Documentation/core-api: add swiotlb documentation"): swiotlb_tlb_map_single --> swiotlb_tbl_map_single swiotbl_tlb_unmap_single --> swiotlb_tbl_unmap_single Signed-off-by: Eder Zulian <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent bb8fd09 commit ce6fab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/core-api/swiotlb.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ slot set.
295295

296296
Fourth, the io_tlb_slot array keeps track of any "padding slots" allocated to
297297
meet alloc_align_mask requirements described above. When
298-
swiotlb_tlb_map_single() allocates bounce buffer space to meet alloc_align_mask
298+
swiotlb_tbl_map_single() allocates bounce buffer space to meet alloc_align_mask
299299
requirements, it may allocate pre-padding space across zero or more slots. But
300-
when swiotbl_tlb_unmap_single() is called with the bounce buffer address, the
300+
when swiotlb_tbl_unmap_single() is called with the bounce buffer address, the
301301
alloc_align_mask value that governed the allocation, and therefore the
302302
allocation of any padding slots, is not known. The "pad_slots" field records
303303
the number of padding slots so that swiotlb_tbl_unmap_single() can free them.

0 commit comments

Comments
 (0)