Re: [PATCH net-next V2 20/23] ptp: dp83640: convert to the 64 bit get/set time methods.

From: Richard Cochran
Date: Sun Mar 22 2015 - 03:29:47 EST


On Sun, Mar 22, 2015 at 03:36:31AM +0100, Arnd Bergmann wrote:
> On Saturday 21 March 2015, Richard Cochran wrote:
> > mutex_lock(&clock->extreg_lock);
> >
> > - err = tdr_write(1, phydev, ts, PTP_LOAD_CLK);
> > + err = tdr_write(1, phydev, &ts, PTP_LOAD_CLK);
> >
> > mutex_unlock(&clock->extreg_lock);
>
> I don't see the change to the tdr_write() function that changes the
> argument from 'struct timespec ts' to 'struct timespec64 *', so this
> looks wrong to me.

There is a 'ts64' parameter, converted to 'ts' beforehand.

Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/