# Re: \[PATCH v5 2/4\] virtio\_rtc: Add PTP clocks

- From: Simon Horman \<horms@kernel.org\>
- Date: 2025-02-24 17:56:25 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/02/2941544
- Thread: https://ratatoskr.run/virtualization/2025/02/2934358/t.md

```text
On Wed, Feb 19, 2025 at 08:32:57PM +0100, Peter Hilber wrote:

...

> +/**
> + * viortc_ptp_gettimex64() - PTP clock gettimex64 op
> + *

Hi Peter,

Tooling recognises this as a kernel doc, and complains
that there is no documentation present for the function's
parameters: ptp, ts, and sts.

Flagged by W=1 builds.

> + * Context: Process context.
> + */
> +static int viortc_ptp_gettimex64(struct ptp_clock_info *ptp,
> +				 struct timespec64 *ts,
> +				 struct ptp_system_timestamp *sts)

...
```
