1
0
Fork 0

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

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hifive-unleashed-5.1
Mauro Carvalho Chehab 2008-11-28 06:44:06 -03:00
parent edecce0a31
commit 1f9305b7a5
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}