On Sat, 25 Aug 2012 13:12:01 -0300 Ezequiel Garcia <elezegarcia@xxxxxxxxx> wrote: > The mentioned BUG_ON() are these: > > void vb2_queue_init(struct vb2_queue *q) > { > BUG_ON(!q); > BUG_ON(!q->ops); > BUG_ON(!q->mem_ops); > BUG_ON(!q->type); > BUG_ON(!q->io_modes); > [...] > > Unless I'm overlooking something they look fine to me, > since vb2_queue should always be prepared by the driver. http://permalink.gmane.org/gmane.linux.kernel/1347333 is, I believe, the definitive word on this kind of use of BUG_ON()... jon -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html