Subject: Re: [PATCH net] devlink: Delay health recover notification until devlink registered

From: Jakub Kicinski <[email-masked]>
Date: Tue, 8 Aug 2023 16:18:34 -0700

On Tue, 8 Aug 2023 16:37:20 +0300 Shay Drory wrote:
> Currently, invoking health recover before devlink_register() triggers
> a WARN_ON. However, it is possible for a device to have health errors
> during its probing flow, before the device driver will call to
> devlink_register(). e.g.: it is valid to invoke health recover before
> devlink_register().
> 
> Hence, apply delay notification mechanism to health reporters.

devlink_register() is dead, long live devl_register().

At the very least the commit message should enlighten us as to why 
the devlink instance can't be registered first, before the health
reporter.