Re: [PATCH 0/2 net-next] devlink: Constify struct devlink_dpipe_table_ops

From: Jiri Pirko
Date: Mon Jun 03 2024 - 08:47:19 EST


Sun, Jun 02, 2024 at 04:18:51PM CEST, christophe.jaillet@xxxxxxxxxx wrote:
>Patch 1 updates devl_dpipe_table_register() and struct
>devlink_dpipe_table to accept "const struct devlink_dpipe_table_ops".
>
>Then patch 2 updates the only user of this function.
>
>This is compile tested only.
>
>Christophe JAILLET (2):
> devlink: Constify the 'table_ops' parameter of
> devl_dpipe_table_register()
> mlxsw: spectrum_router: Constify struct devlink_dpipe_table_ops

set-
Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>