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 /tools/perf/scripts/python | |
| parent | initrd: Fix unused variable warning in rd_load_image() on s390 (diff) | |
| download | linux-e60625e7ce10f696690d9e36a9f32fc7c1897f79.tar.gz linux-e60625e7ce10f696690d9e36a9f32fc7c1897f79.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
