diff options
author | Kees Cook <[email protected]> | 2022-10-29 00:47:34 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2022-11-18 09:17:13 -0800 |
commit | 74c8e6bffbe10c4470139496f930c0b0752c85c9 (patch) | |
tree | f6f815615a576b96eed8d849340db29664c24684 /tools/perf/scripts/python/libxed.py | |
parent | 8abfff25b3e2c8f51049295f86dd257492ac1969 (diff) |
driver core: Add __alloc_size hint to devm allocators
Mark the devm_*alloc()-family of allocations with appropriate
__alloc_size()/__realloc_size() hints so the compiler can attempt to
reason about buffer lengths from allocations.
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Michael Kelley <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Won Chung <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions