[libcamera-devel] [PATCH] libcamera: ipa_interface: Fix doxygen warning
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Jan 14 00:56:05 CET 2020
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 %.
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,
Laurent Pinchart
More information about the libcamera-devel
mailing list