# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/10/2376889
- Thread: https://ratatoskr.run/netdev/2023/10/2374080/t.md

```text
On Fri, 20 Oct 2023 18:47:14 -0700
Jakub Kicinski [ref] 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@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
```
