diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-03-06 05:54:49 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-10 04:51:07 +0300 |
| commit | 6927430735802bd8bc5dbe352edbd94a04459567 (patch) | |
| tree | 7a20652dd34882d7c90a8d08d0e8133dbe48cf35 /include | |
| parent | 50636e5ff8861c35ebb190521ba540074ab583ad (diff) | |
| download | linux-6927430735802bd8bc5dbe352edbd94a04459567.tar.xz | |
net: rocker: kzalloc + kcalloc to kzalloc_flex
Combining the allocations simplifies things, especially the free path.
Remove ofdpa_group_tbl_entry_free as a result. kfree is shorter.
Add __counted_by for extra runtime analysis.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://patch.msgid.link/20260306025449.12333-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
