remove-warn.patch 523 B

1234567891011
  1. diff -Nur linux-4.1.10.orig/drivers/media/v4l2-core/videobuf2-core.c linux-4.1.10/drivers/media/v4l2-core/videobuf2-core.c
  2. --- linux-4.1.10.orig/drivers/media/v4l2-core/videobuf2-core.c 2015-10-03 13:49:38.000000000 +0200
  3. +++ linux-4.1.10/drivers/media/v4l2-core/videobuf2-core.c 2015-10-18 18:18:47.000000000 +0200
  4. @@ -1245,7 +1245,6 @@
  5. return;
  6. __check_once = true;
  7. - __WARN();
  8. pr_warn_once("use of bytesused == 0 is deprecated and will be removed in the future,\n");
  9. if (vb->vb2_queue->allow_zero_bytesused)