[libcamera-devel] [PATCH] libcamera: v4l2_videodevice: Fix typo in a comment

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Apr 6 14:42:31 CEST 2022


Hi Naush,

Thank you for the patch.

On Wed, Apr 06, 2022 at 01:38:05PM +0100, Naushir Patuck via libcamera-devel wrote:
> s/prevetn/prevent/
> 
> Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
> ---
>  src/libcamera/v4l2_videodevice.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/libcamera/v4l2_videodevice.cpp b/src/libcamera/v4l2_videodevice.cpp
> index 0830be80c553..98671509fe02 100644
> --- a/src/libcamera/v4l2_videodevice.cpp
> +++ b/src/libcamera/v4l2_videodevice.cpp
> @@ -1715,7 +1715,7 @@ FrameBuffer *V4L2VideoDevice::dequeueBuffer()
>  	 * not find it in the queuedBuffers_ list.
>  	 *
>  	 * Whilst this kernel bug has been fixed in mainline, ensure that we
> -	 * safely ingore buffers which are unexpected to prevetn crashes on
> +	 * safely ingore buffers which are unexpected to prevent crashes on

While at it, s/ingore/ignore/ ? :-) I'll fix that locally.

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

>  	 * older kernels.
>  	 */
>  	auto it = queuedBuffers_.find(buf.index);

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list