summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.1.30/remove-warn.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-15 19:15:13 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-15 19:15:30 +0200
commitd9db1a94a5ed1fb6d4c3c3c55cd01c6e6704ce3b (patch)
treead077290dd0db193c4cfe34139e4aac5ebe5d8eb /target/linux/patches/4.1.30/remove-warn.patch
parentaa93632c77261538bd8ea540ac78525290a8a69d (diff)
linux: update 4.x kernel, add m68k patch and allow one memory flat
Diffstat (limited to 'target/linux/patches/4.1.30/remove-warn.patch')
-rw-r--r--target/linux/patches/4.1.30/remove-warn.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/patches/4.1.30/remove-warn.patch b/target/linux/patches/4.1.30/remove-warn.patch
new file mode 100644
index 000000000..1f89c710d
--- /dev/null
+++ b/target/linux/patches/4.1.30/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)