# Re: \[PATCH net-next v13 12/14\] net: ptp: Move ptp\_clock\_index() to builtin symbol

- From: Kory Maincent \<kory.maincent@bootlin.com\>
- Date: 2024-05-30 12:53:59 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/05/2620137
- Thread: https://ratatoskr.run/netdev/2024/05/2618649/t.md

```text
Hello Sai,

On Thu, 30 May 2024 11:23:10 +0000
Sai Krishna Gajula [ref] wrote:

> > Move ptp_clock_index() to builtin symbols to prepare for supporting get and
> > set hardware timestamps from ethtool, which is builtin.
> > 
> > Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>

> >  }
> > +
> > +int ptp_clock_index(struct ptp_clock *ptp) {
> > +	return ptp->index;
> > +}
> > +EXPORT_SYMBOL(ptp_clock_index);
> >   
> Please check the "build_clang - FAILED", "build_32bit - FAILED" build errors.

Could you be more explicit? Which config are you using?
What is the build error?

I don't really see how this patch can bring a 32bit or clang build error. 

Regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
```
