From 6f39125b31a63a40f2ce5d2e6f47cc9088ab4b96 Mon Sep 17 00:00:00 2001 From: Sunmi Lee Date: Mon, 27 Jun 2016 22:19:15 +0900 Subject: [PATCH] [HACK] media: v4l2-core: disable warning Change-Id: Ib7fc844e977fce269605541a577eeb74174b9b1f Signed-off-by: Sunmi Lee --- drivers/media/v4l2-core/videobuf2-v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/videobuf2-v4l2.c b/drivers/media/v4l2-core/videobuf2-v4l2.c index f1e85756947f..7dbd72f67129 100644 --- a/drivers/media/v4l2-core/videobuf2-v4l2.c +++ b/drivers/media/v4l2-core/videobuf2-v4l2.c @@ -146,7 +146,7 @@ static void vb2_warn_zero_bytesused(struct vb2_buffer *vb) return; check_once = true; - WARN_ON(1); + /* WARN_ON(1); */ pr_warn("use of bytesused == 0 is deprecated and will be removed in the future,\n"); if (vb->vb2_queue->allow_zero_bytesused) -- 2.20.1