Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
b87b786b
Commit
b87b786b
authored
Jul 06, 2017
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix trivial misannotations
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
aeba0390
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/gpu/drm/drm_ioc32.c
drivers/gpu/drm/drm_ioc32.c
+2
-2
drivers/gpu/drm/mga/mga_ioc32.c
drivers/gpu/drm/mga/mga_ioc32.c
+1
-1
No files found.
drivers/gpu/drm/drm_ioc32.c
View file @
b87b786b
...
...
@@ -343,7 +343,7 @@ static int compat_drm_markbufs(struct file *file, unsigned int cmd,
{
drm_buf_desc32_t
b32
;
drm_buf_desc32_t
__user
*
argp
=
(
void
__user
*
)
arg
;
struct
drm_buf_desc
__user
buf
;
struct
drm_buf_desc
buf
;
if
(
copy_from_user
(
&
b32
,
argp
,
sizeof
(
b32
)))
return
-
EFAULT
;
...
...
@@ -870,7 +870,7 @@ static int compat_drm_mode_addfb2(struct file *file, unsigned int cmd,
unsigned
long
arg
)
{
struct
drm_mode_fb_cmd232
__user
*
argp
=
(
void
__user
*
)
arg
;
struct
drm_mode_fb_cmd2
__user
req64
;
struct
drm_mode_fb_cmd2
req64
;
int
err
;
if
(
copy_from_user
(
&
req64
,
argp
,
...
...
drivers/gpu/drm/mga/mga_ioc32.c
View file @
b87b786b
...
...
@@ -115,7 +115,7 @@ static int compat_mga_dma_bootstrap(struct file *file, unsigned int cmd,
unsigned
long
arg
)
{
drm_mga_dma_bootstrap32_t
dma_bootstrap32
;
drm_mga_dma_bootstrap_t
__user
dma_bootstrap
;
drm_mga_dma_bootstrap_t
dma_bootstrap
;
int
err
;
if
(
copy_from_user
(
&
dma_bootstrap32
,
(
void
__user
*
)
arg
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment