Re: [PATCH v3 net-next] ptp: Move from simple ida to xarray

From: Köry Maincent
Date: Mon Mar 11 2024 - 10:49:09 EST


On Mon, 11 Mar 2024 15:17:15 +0100
Przemek Kitszel <przemyslaw.kitszel@xxxxxxxxx> wrote:

> On 3/11/24 14:59, Kory Maincent wrote:
> > Move from simple ida to xarray for storing and loading the ptp_clock
> > pointer. This prepares support for future hardware timestamp selection by
> > being able to link the ptp clock index to its pointer.
> >
> > Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
> > ---
> >
> > Change in v2:
> > - Update an err value missing.
> >
> > Change in v3:
> > - Refactor err management.
> > ---
> > drivers/ptp/ptp_clock.c | 28 ++++++++++++++++------------
> > 1 file changed, 16 insertions(+), 12 deletions(-)
> >
>
> sorry for not commenting more on v2 :/

No worry, thanks for your review!!

Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com