diff options
| author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2024-04-18 13:36:11 +0200 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-04-24 11:06:25 -0700 |
| commit | ef9226cd56b718c79184a3466d32984a51cb449c (patch) | |
| tree | c68f9a2a90f6529ed6757eca65a504bf8afb2f05 /drivers/net/ethernet/intel/libeth/rx.c | |
| parent | slab: introduce kvmalloc_array_node() and kvcalloc_node() (diff) | |
| download | linux-ef9226cd56b718c79184a3466d32984a51cb449c.tar.gz linux-ef9226cd56b718c79184a3466d32984a51cb449c.zip | |
page_pool: constify some read-only function arguments
There are several functions taking pointers to data they don't modify.
This includes statistics fetching, page and page_pool parameters, etc.
Constify the pointers, so that call sites will be able to pass const
pointers as well.
No functional changes, no visible changes in functions sizes.
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/libeth/rx.c')
0 files changed, 0 insertions, 0 deletions
