summaryrefslogtreecommitdiff
path: root/tools/hv/lsvmbus
diff options
context:
space:
mode:
authorTony Battersby <tonyb@cybernetics.com>2023-01-26 13:51:17 -0800
committerAndrew Morton <akpm@linux-foundation.org>2023-05-06 10:33:36 -0700
commit790233528d338f1467662761cf1e871086483ab8 (patch)
treefefd23193491ecd4e740210f1e8ae9d693406a02 /tools/hv/lsvmbus
parent08cc96c894848bcd1d15a79b15c56a8bb4f07ff5 (diff)
dmapool: cleanup integer types
To represent the size of a single allocation, dmapool currently uses 'unsigned int' in some places and 'size_t' in other places. Standardize on 'unsigned int' to reduce overhead, but use 'size_t' when counting all the blocks in the entire pool. Link: https://lkml.kernel.org/r/20230126215125.4069751-5-kbusch@meta.com Fixes: 2d55c16c0c54 ("dmapool: create/destroy cleanup") Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/hv/lsvmbus')
0 files changed, 0 insertions, 0 deletions