Impact: Currently, the kernel build produces a warning on the cx23885-core.c:
drivers/media/video/cx23885/cx23885-core.c: In function ‘cx23885_free_buffer’:
drivers/media/video/cx23885/cx23885-core.c:1146:2: warning: passing argument 1 of ‘videobuf_dma_unmap’ from incompatible pointer type
include/media/videobuf-dma-sg.h:100:5: note: expected ‘struct videobuf_queue *’ but argument is of type ‘struct device *’
- this *may* indicate that video buffers are not properly freed after use
Fix: With this fix applied, the warning is no longer present
SRU Justification:
Impact: Currently, the kernel build produces a warning on the cx23885-core.c:
drivers/ media/video/ cx23885/ cx23885- core.c: In function ‘cx23885_ free_buffer’ : media/video/ cx23885/ cx23885- core.c: 1146:2: warning: passing argument 1 of ‘videobuf_ dma_unmap’ from incompatible pointer type media/videobuf- dma-sg. h:100:5: note: expected ‘struct videobuf_queue *’ but argument is of type ‘struct device *’
drivers/
include/
- this *may* indicate that video buffers are not properly freed after use
Fix: With this fix applied, the warning is no longer present