[media] vb2: replace BUG by WARN_ON
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 3 Feb 2014 14:22:45 +0000 (11:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 09:56:43 +0000 (06:56 -0300)
commite4d2581649fe87bbd506c4d55591c4de9d2962d8
tree53a18a8f0953fbb0ab8e5445f9457e2bced64502
parentfb64dca805f091b52dbe8d6504390f63d961cbbd
[media] vb2: replace BUG by WARN_ON

No need to oops for this, WARN_ON is good enough.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c