linux/include/net/page_pool
Jakub Kicinski 81a4d03953 net: make page_pool_get_stats() void
The kdoc for page_pool_get_stats() is missing a Returns: statement.
Looking at this function, I have no idea what is the purpose of
the bool it returns. My guess was that maybe the static inline
stub returns false if CONFIG_PAGE_POOL_STATS=n but such static
inline helper doesn't exist at all. All callers pass a pointer
to a struct on the stack. Make this function void.

Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260526155722.2790742-5-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-28 18:10:03 -07:00
..
helpers.h net: make page_pool_get_stats() void 2026-05-28 18:10:03 -07:00
memory_provider.h net: Slightly simplify net_mp_{open,close}_rxq 2026-04-09 18:21:46 -07:00
types.h net: page_pool: scale alloc cache with PAGE_SIZE 2026-03-12 18:51:11 -07:00