Re: [PATCH 3/3] media: mc-entity: Add missing kerneldoc

From: Laurent Pinchart

Date: Wed Jun 10 2026 - 16:22:25 EST


On Wed, Jun 10, 2026 at 04:20:08PM +0000, Ricardo Ribalda wrote:
> The argument args is not documented, and the latest kernel version
> complains about that.
>
> This fixes the following warning:
> Warning: include/media/media-entity.h:1394 function parameter 'args'
> not described in 'media_entity_call'
>
> Cc: stable@xxxxxxxxxx
> Fixes: 48a7c4bac94d ("[media] docs-rst: improve the kAPI documentation for the mediactl")
> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>

> ---
> include/media/media-entity.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/media/media-entity.h b/include/media/media-entity.h
> index d9b72cd87d52..fa393e840669 100644
> --- a/include/media/media-entity.h
> +++ b/include/media/media-entity.h
> @@ -1387,6 +1387,7 @@ void media_remove_intf_links(struct media_interface *intf);
> * @entity: entity where the @operation will be called
> * @operation: type of the operation. Should be the name of a member of
> * struct &media_entity_operations.
> + * @args: arguments for the operation.
> *
> * This helper function will check if @operation is not %NULL. On such case,
> * it will issue a call to @operation\(@entity, @args\).
>

--
Regards,

Laurent Pinchart