summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_ptp.c
diff options
context:
space:
mode:
authorRiyan Dhiman <riyandhiman14@gmail.com>2024-10-01 16:35:43 +0530
committerJakub Kicinski <kuba@kernel.org>2024-10-04 11:12:28 -0700
commitc55ff46aeebed1704a9a6861777b799f15ce594d (patch)
treeab23033cf9a2072dead675ed9fc2b7de55de5d6b /drivers/net/ethernet/intel/ice/ice_ptp.c
parent8389cdb5c192bad690caf64a0746216c27f0c9b8 (diff)
octeontx2-af: Change block parameter to const pointer in get_lf_str_list
Convert struct rvu_block block to const struct rvu_block *block in get_lf_str_list() function parameter. This improves efficiency by avoiding structure copying and reflects the function's read-only access to block. Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241001110542.5404-2-riyandhiman14@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ptp.c')
0 files changed, 0 insertions, 0 deletions