[libcamera-devel] [PATCH] libcamera: ipa_interface: Fix doxygen warning
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Jan 14 01:01:35 CET 2020
Hi Laurent,
On 13/01/2020 23:56, Laurent Pinchart wrote:
> Doxygen generates the following warning:
>
> src/libcamera/ipa_interface.cpp:262: warning: explicit link request to 'dup()' could not be resolved
>
> Fix it by disabling link generation by prefixing the function name with
> a %.
>
Thanks,
Confirmed this removes the compiler warning on my system, and renders
correctly in the generated doxygen output.
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> Fixes: 4b9bd6c3ad94 ("libcamera: ipa_interface: Document the ownership of dmabufs passed to map_buffers()")
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> src/libcamera/ipa_interface.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/libcamera/ipa_interface.cpp b/src/libcamera/ipa_interface.cpp
> index 900154497f82..5959e7deda6c 100644
> --- a/src/libcamera/ipa_interface.cpp
> +++ b/src/libcamera/ipa_interface.cpp
> @@ -261,7 +261,7 @@
> * The dmabuf file descriptors provided in \a buffers are borrowed from the
> * caller and are only guaranteed to be valid during the map_buffers() call.
> * Should the callee need to store a copy of the file descriptors, it shall
> - * duplicate them first with ::dup().
> + * duplicate them first with ::%dup().
> *
> * \sa libcamera::IPAInterface::mapBuffers()
> */
>
--
Regards
--
Kieran
More information about the libcamera-devel
mailing list