linux/drivers/net/ethernet/rocker
Rosen Penev 6927430735 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>
2026-03-09 18:51:07 -07:00
..
Kconfig
Makefile
rocker_hw.h
rocker_main.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
rocker_ofdpa.c net: rocker: kzalloc + kcalloc to kzalloc_flex 2026-03-09 18:51:07 -07:00
rocker_tlv.c
rocker_tlv.h
rocker.h