diff options
| author | Boqun Feng <[email protected]> | 2023-07-30 01:29:03 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2023-08-07 09:33:33 +0000 |
| commit | f39a97d0d8a765268b8de17f2e34393e7cb2cd2d (patch) | |
| tree | 55c5d2e12293e2bb2f1ab45a13a5bd0762c2ddbb /scripts/generate_rust_analyzer.py | |
| parent | rust: helpers: sort includes alphabetically in rust/helpers.c (diff) | |
| download | kernel-f39a97d0d8a765268b8de17f2e34393e7cb2cd2d.tar.gz kernel-f39a97d0d8a765268b8de17f2e34393e7cb2cd2d.zip | |
rust: allocator: Use krealloc_aligned() in KernelAllocator::alloc
This fixes the potential issue that when KernelAllocator is used, the
allocation may be mis-aligned due to SLAB's alignment guarantee.
Signed-off-by: Boqun Feng <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
