Re: [PATCH v3 net-next 06/10] net: ptp: create a mock-up PTP Hardware Clock driver

From: Vladimir Oltean
Date: Thu Aug 03 2023 - 10:46:04 EST


On Wed, Aug 02, 2023 at 02:58:24PM -0700, Vinicius Costa Gomes wrote:
> > +static DEFINE_SPINLOCK(mock_phc_lock);
> > +
>
> Not a big deal, but as it is possible to have multiple netdevsim
> instances (is it?), I think it's better to move the lock inside struct
> mock_phc.

Ok. I'll respin with this and Kurt's comments addressed. I'll wait for a
little bit longer, in case there are more change requests.