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

From: Jakub Kicinski
Date: Fri Oct 20 2023 - 21:47:21 EST


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,
^
--
pw-bot: cr