提交 1f9305b7 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (12844): tm6000: avoid writing on a floating pointer

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 edecce0a
......@@ -139,6 +139,7 @@ static inline void get_next_buf(struct tm6000_dmaqueue *dma_q,
if (list_empty(&dma_q->active)) {
dprintk(dev, V4L2_DEBUG_QUEUE, "No active queue to serve\n");
*buf = NULL;
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册