Re: [PATCH net-next v6 12/16] net: Replace hwtstamp_source by timestamping layer
From: Köry Maincent <kory.maincent@bootlin.com>
Date: 2023-10-23 07:56:53
Also in:
linux-doc, lkml
From: Köry Maincent <kory.maincent@bootlin.com>
Date: 2023-10-23 07:56:53
Also in:
linux-doc, lkml
On Fri, 20 Oct 2023 18:47:14 -0700 Jakub Kicinski [off-list ref] wrote:
On Thu, 19 Oct 2023 16:29:27 +0200 Kory Maincent wrote:quoted
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@bootlin.com>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