projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
770f359
)
virtgpu: pull in uaccess.h
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 7 Apr 2020 00:30:11 +0000
(20:30 -0400)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 17 Apr 2020 10:05:29 +0000
(06:05 -0400)
In preparation to virtio header changes, include uaccess.h directly as
this file is using copy to/from user.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/gpu/drm/virtio/virtgpu_ioctl.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/virtio/virtgpu_ioctl.c
b/drivers/gpu/drm/virtio/virtgpu_ioctl.c
index 336cc9143205de921c4307f076903530abe58e97..3f60bf2fe05aba4922717453a1bd674b18dfa4f3 100644
(file)
--- a/
drivers/gpu/drm/virtio/virtgpu_ioctl.c
+++ b/
drivers/gpu/drm/virtio/virtgpu_ioctl.c
@@
-27,6
+27,7
@@
#include <linux/file.h>
#include <linux/sync_file.h>
+#include <linux/uaccess.h>
#include <drm/drm_file.h>
#include <drm/virtgpu_drm.h>