aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorTony Battersby <[email protected]>2023-01-26 21:51:17 +0000
committerAndrew Morton <[email protected]>2023-05-06 17:33:36 +0000
commit790233528d338f1467662761cf1e871086483ab8 (patch)
treefefd23193491ecd4e740210f1e8ae9d693406a02 /lib/string_helpers.c
parentdmapool: use sysfs_emit() instead of scnprintf() (diff)
downloadkernel-790233528d338f1467662761cf1e871086483ab8.tar.gz
kernel-790233528d338f1467662761cf1e871086483ab8.zip
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/string_helpers.c')
0 files changed, 0 insertions, 0 deletions