V4L/DVB (12844): tm6000: avoid writing on a floating pointer
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
edecce0a31
commit
1f9305b7a5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue