diff options
| author | Giuliano Procida <gprocida@google.com> | 2025-07-01 18:19:10 +0300 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-07-26 09:31:30 +0300 |
| commit | e06aa69de21b6de2ef83f559768a4005114f5661 (patch) | |
| tree | 4fd4ec817c8e828fc7b5d7ba6fba7a2ad5c6b025 /rust/helpers/xarray.c | |
| parent | 87433e3e06a6b6a78a541b6ac39000f41779a882 (diff) | |
| download | linux-e06aa69de21b6de2ef83f559768a4005114f5661.tar.xz | |
gendwarfksyms: use preferred form of sizeof for allocation
The preferred form is to use the variable being allocated to, rather
than explicitly supplying a type name which might become stale.
Also do this for memset.
Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Giuliano Procida <gprocida@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
