Loading
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>