Re: [PATCH net-next v1 1/1] net: phy: Move callback comments from struct to kernel-doc section
From: Paolo Abeni
Date: Tue Dec 10 2024 - 06:56:27 EST
On 12/6/24 12:39, Oleksij Rempel wrote:
> +#if 0 /* For kernel-doc purposes only. */
> +
> +/**
> + * soft_reset - Issue a PHY software reset.
> + * @phydev: The PHY device to reset.
> + *
> + * Returns 0 on success or a negative error code on failure.
KDoc is not happy about the lack of ':' after 'Returns':
include/linux/phy.h:1099: warning: No description found for return value
of 'soft_reset'
Thanks!
Paolo