]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 06:27:14 +0000 (07:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 06:27:14 +0000 (07:27 +0100)
added patches:
drm-virtio-module_param_named-requires-linux-moduleparam.h.patch

queue-5.4/drm-virtio-module_param_named-requires-linux-moduleparam.h.patch [new file with mode: 0644]
queue-5.4/series

diff --git a/queue-5.4/drm-virtio-module_param_named-requires-linux-moduleparam.h.patch b/queue-5.4/drm-virtio-module_param_named-requires-linux-moduleparam.h.patch
new file mode 100644 (file)
index 0000000..79efcbc
--- /dev/null
@@ -0,0 +1,30 @@
+From b0138364da17617db052c4a738b58bf45e42f500 Mon Sep 17 00:00:00 2001
+From: Stephen Rothwell <sfr@canb.auug.org.au>
+Date: Wed, 28 Aug 2019 18:55:16 +1000
+Subject: drm/virtio: module_param_named() requires linux/moduleparam.h
+
+From: Stephen Rothwell <sfr@canb.auug.org.au>
+
+commit b0138364da17617db052c4a738b58bf45e42f500 upstream.
+
+Fixes: 3e93bc2a58aa ("drm/virtio: make resource id workaround runtime switchable.")
+Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
+Link: http://patchwork.freedesktop.org/patch/msgid/20190828185516.22b03da8@canb.auug.org.au
+Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/virtio/virtgpu_object.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/drivers/gpu/drm/virtio/virtgpu_object.c
++++ b/drivers/gpu/drm/virtio/virtgpu_object.c
+@@ -23,6 +23,8 @@
+  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+  */
++#include <linux/moduleparam.h>
++
+ #include <drm/ttm/ttm_execbuf_util.h>
+ #include "virtgpu_drv.h"
index e339f841b843af4a2766ed3eaeae72f61eafab4f..13efa2d8c5ca75885b02a762d378cbda1e3ebc5e 100644 (file)
@@ -167,3 +167,4 @@ efi-read_once-rng-seed-size-before-munmap.patch
 block-bfq-get-a-ref-to-a-group-when-adding-it-to-a-service-tree.patch
 block-bfq-remove-ifdefs-from-around-gets-puts-of-bfq-groups.patch
 csky-implement-copy_thread_tls.patch
+drm-virtio-module_param_named-requires-linux-moduleparam.h.patch