Re: [PATCH net-next 01/16] devlink: Change devlink_reload_supported() param type

From: Jiri Pirko
Date: Fri Oct 02 2020 - 11:13:55 EST


Thu, Oct 01, 2020 at 03:59:04PM CEST, moshe@xxxxxxxxxxxx wrote:
>Change devlink_reload_supported() function to get devlink_ops pointer
>param instead of devlink pointer param.
>This change will be used in the next patch to check if devlink reload is
>supported before devlink instance is allocated.
>
>Signed-off-by: Moshe Shemesh <moshe@xxxxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>