From: Thomas Monjalon
> 24/11/2021 23:02, [email protected]:
> > From: Michael Baum <[email protected]>
> >
> > The common drivers_probe function calls in a loop to all probe
> > functions for classes requested by the user. After it manages to probe
> > them all, it updates this on the device in the "classes_loaded" field.
> >
> > If one of them fails, all those probed to it are remove using the
> > drivers_remove function. However, this function only releases the
> > classes in the "classes_loaded" field on the given device and misses
> > the newly probed classes.
> >
> > This patch removes the condition from the release function, and
> > ensures that the caller function sends a more accurate parameter.
> >
> > Fixes: 8a41f4deccc3 ("common/mlx5: introduce layer for multiple class
> > drivers")
> > Cc: [email protected]
> >
> > Signed-off-by: Michael Baum <[email protected]>
> > Acked-by: Matan Azrad <[email protected]>
> 
> How well it has been tested?

It was tested carefully for all the remove cases.

> How critical it is to have in 21.11?

It is error flow issue, not critical.

> 

Reply via email to