diff options
author | 2025-05-03 13:52:44 +0200 | |
---|---|---|
committer | 2025-05-05 12:47:57 +0200 | |
commit | 7314166ee7592513c77cfbb8ff579f376039f9c4 (patch) | |
tree | 3fedef06cc2ec6748298af8b4e9f76e080586659 /scripts/lib/kdoc/kdoc_files.py | |
parent | ovl: Replace offsetof() with struct_size() in ovl_cache_entry_new() (diff) | |
download | linux-rng-7314166ee7592513c77cfbb8ff579f376039f9c4.tar.xz linux-rng-7314166ee7592513c77cfbb8ff579f376039f9c4.zip |
ovl: Replace offsetof() with struct_size() in ovl_stack_free()
Compared to offsetof(), struct_size() provides additional compile-time
checks for structs with flexible arrays (e.g., __must_be_array()).
No functional changes intended.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions