summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-05-03 13:52:44 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2025-05-05 12:47:57 +0200
commit7314166ee7592513c77cfbb8ff579f376039f9c4 (patch)
tree3fedef06cc2ec6748298af8b4e9f76e080586659 /scripts/generate_rust_analyzer.py
parent5aaf6a8cc3305e1000417f6fac9d131c47db9117 (diff)
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/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions