From a996dfe26651ae30a7a25fff0ed0f409461c63d3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 20 Oct 2015 07:56:19 +0200 Subject: remove __WARN to avoid build break --- target/linux/patches/4.1.10/remove-warn.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/patches/4.1.10/remove-warn.patch (limited to 'target/linux/patches') diff --git a/target/linux/patches/4.1.10/remove-warn.patch b/target/linux/patches/4.1.10/remove-warn.patch new file mode 100644 index 000000000..1f89c710d --- /dev/null +++ b/target/linux/patches/4.1.10/remove-warn.patch @@ -0,0 +1,11 @@ +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 +--- linux-4.1.10.orig/drivers/media/v4l2-core/videobuf2-core.c 2015-10-03 13:49:38.000000000 +0200 ++++ linux-4.1.10/drivers/media/v4l2-core/videobuf2-core.c 2015-10-18 18:18:47.000000000 +0200 +@@ -1245,7 +1245,6 @@ + return; + + __check_once = true; +- __WARN(); + + pr_warn_once("use of bytesused == 0 is deprecated and will be removed in the future,\n"); + if (vb->vb2_queue->allow_zero_bytesused) -- cgit v1.2.3