diff options
author | Tony Battersby <[email protected]> | 2023-01-26 13:51:17 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-05-06 10:33:36 -0700 |
commit | 790233528d338f1467662761cf1e871086483ab8 (patch) | |
tree | fefd23193491ecd4e740210f1e8ae9d693406a02 /lib/mpi/mpi-mul.c | |
parent | 08cc96c894848bcd1d15a79b15c56a8bb4f07ff5 (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/[email protected]
Fixes: 2d55c16c0c54 ("dmapool: create/destroy cleanup")
Signed-off-by: Tony Battersby <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions