summaryrefslogtreecommitdiff
path: root/drivers/pci/Kconfig
diff options
context:
space:
mode:
authorTianyu Lan <tiala@microsoft.com>2022-07-22 06:38:46 +0300
committerChristoph Hellwig <hch@lst.de>2022-07-22 18:20:56 +0300
commit72311809031217714e635b24f8478e6ecb0d93d9 (patch)
tree16ba453bcd936f8d97d6f66c3469fb99a3a1581b /drivers/pci/Kconfig
parenta45e52bf1eca9bf8a7d075ce12b1e306497ce393 (diff)
downloadlinux-72311809031217714e635b24f8478e6ecb0d93d9.tar.xz
swiotlb: clean up some coding style and minor issues
- Fix the used field of struct io_tlb_area wasn't initialized - Set area number to be 0 if input area number parameter is 0 - Use array_size() to calculate io_tlb_area array size - Make parameters of swiotlb_do_find_slots() more reasonable Fixes: 26ffb91fa5e0 ("swiotlb: split up the global swiotlb lock") Signed-off-by: Tianyu Lan <tiala@microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/pci/Kconfig')
0 files changed, 0 insertions, 0 deletions