From: David R <david@unsolicited.net>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
gregkh@linuxfoundation.org
Subject: Patch: V4L stable versions 4.5.3 and 4.5.4
Date: Wed, 11 May 2016 19:47:21 +0100 [thread overview]
Message-ID: <57337E39.40105@unsolicited.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
Hi
Please consider applying the attached patch (or something like it) to
V4L2, and whatever is appropriate to the mainstream kernel. Without this
my media server crashes and burns at boot.
See https://lkml.org/lkml/2016/5/7/88 for more details
Thanks
David
[-- Attachment #2: v4l2.diff --]
[-- Type: text/x-patch, Size: 533 bytes --]
--- drivers/media/v4l2-core/videobuf2-core.c.old 2016-05-11 18:44:50.917083559 +0100
+++ drivers/media/v4l2-core/videobuf2-core.c 2016-05-11 18:45:10.136184837 +0100
@@ -1665,7 +1665,7 @@ static int __vb2_get_done_vb(struct vb2_
* Only remove the buffer from done_list if v4l2_buffer can handle all
* the planes.
*/
- ret = call_bufop(q, verify_planes_array, *vb, pb);
+ ret = pb ? call_bufop(q, verify_planes_array, *vb, pb) : 0;
if (!ret)
list_del(&(*vb)->done_entry);
spin_unlock_irqrestore(&q->done_lock, flags);
next reply other threads:[~2016-05-11 18:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 18:47 David R [this message]
2016-05-11 19:05 ` Patch: V4L stable versions 4.5.3 and 4.5.4 David R
2016-05-11 20:38 ` Mauro Carvalho Chehab
2016-05-11 21:07 ` Sakari Ailus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57337E39.40105@unsolicited.net \
--to=david@unsolicited.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.