diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-09-12 08:52:57 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-09-15 14:42:56 +0200 |
commit | e60625e7ce10f696690d9e36a9f32fc7c1897f79 (patch) | |
tree | a685e9ed4caf0b9fc268d2b3655b0c1b076043d3 /scripts/gdb/linux/mm.py | |
parent | 84f1766bdba5a6394618a45b34a320f336b02d95 (diff) |
initramfs: Use struct_size() helper to improve dir_add()
Use struct_size() to calculate the number of bytes to allocate for a new
directory entry. No functional changes.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions