Re: [PATCH net-next v6 12/16] net: Replace hwtstamp_source by timestamping layer

From: Köry Maincent
Date: Mon Oct 23 2023 - 03:56:53 EST


On Fri, 20 Oct 2023 18:47:14 -0700
Jakub Kicinski <kuba@xxxxxxxxxx> wrote:

> On Thu, 19 Oct 2023 16:29:27 +0200 Kory Maincent wrote:
> > Replace hwtstamp_source which is only used by the kernel_hwtstamp_config
> > structure by the more widely use timestamp_layer structure. This is done
> > to prepare the support of selectable timestamping source.
> >
> > Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
>
> Temporarily breaks the build :(
>
> net/core/dev_ioctl.c:335:44: error: use of undeclared identifier
> 'NET_TIMESTAMPING'; did you mean 'NO_TIMESTAMPING'? cfg->source = phy_ts ?
> PHY_TIMESTAMPING : NET_TIMESTAMPING; ^~~~~~~~~~~~~~~~
> NO_TIMESTAMPING
> include/uapi/linux/net_tstamp.h:18:2: note: 'NO_TIMESTAMPING' declared here
> NO_TIMESTAMPING,
> ^

Doh, I forgot to run the in-between patch build procedures. Sorry about that.

Köry