diff options
| author | Kees Cook <[email protected]> | 2022-10-18 02:04:10 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-11-09 15:11:46 +0100 |
| commit | 6fcd7e702d3d91cc2c3194acffd7d67b2c10b81f (patch) | |
| tree | 2999195a591838196586eba74b77b528510a0f5f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9e6002ad9e28209dcefa342977ac683779556dbd (diff) | |
devres: Use kmalloc_size_roundup() to match ksize() usage
Round up allocations with kmalloc_size_roundup() so that devres's use
of ksize() is always accurate and no special handling of the memory is
needed by KASAN, UBSAN_BOUNDS, nor FORTIFY_SOURCE.
Cc: Greg Kroah-Hartman <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions