Re: [PATCH net-next 07/14] devlink: drop the filter argument from devlinks_xa_find_get

Jiri Pirko
2023-01-04T10:06:33Z

Wed, Jan 04, 2023 at 05:16:29AM CET, kuba@kernel.org wrote:
>Looks like devlinks_xa_find_get() was intended to get the mark
>from the @filter argument. It doesn't actually use @filter, passing
>DEVLINK_REGISTERED to xa_find_fn() directly. Walking marks other
>than registered is unlikely so drop @filter argument completely.
>
>Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
>Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Reviewed-by: Jiri Pirko <jiri@nvidia.com>