File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ nouveau_exec(struct nouveau_exec_job_args *args)
293
293
294
294
static int
295
295
nouveau_exec_ucopy (struct nouveau_exec_job_args * args ,
296
- struct drm_nouveau_exec __user * req )
296
+ struct drm_nouveau_exec * req )
297
297
{
298
298
struct drm_nouveau_sync * * s ;
299
299
u32 inc = req -> wait_count ;
@@ -352,15 +352,15 @@ nouveau_exec_ufree(struct nouveau_exec_job_args *args)
352
352
353
353
int
354
354
nouveau_exec_ioctl_exec (struct drm_device * dev ,
355
- void __user * data ,
355
+ void * data ,
356
356
struct drm_file * file_priv )
357
357
{
358
358
struct nouveau_abi16 * abi16 = nouveau_abi16_get (file_priv );
359
359
struct nouveau_cli * cli = nouveau_cli (file_priv );
360
360
struct nouveau_abi16_chan * chan16 ;
361
361
struct nouveau_channel * chan = NULL ;
362
362
struct nouveau_exec_job_args args = {};
363
- struct drm_nouveau_exec __user * req = data ;
363
+ struct drm_nouveau_exec * req = data ;
364
364
int ret = 0 ;
365
365
366
366
if (unlikely (!abi16 ))
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ struct nouveau_exec_job {
48
48
int nouveau_exec_job_init (struct nouveau_exec_job * * job ,
49
49
struct nouveau_exec_job_args * args );
50
50
51
- int nouveau_exec_ioctl_exec (struct drm_device * dev , void __user * data ,
51
+ int nouveau_exec_ioctl_exec (struct drm_device * dev , void * data ,
52
52
struct drm_file * file_priv );
53
53
54
54
#endif
Original file line number Diff line number Diff line change @@ -1687,7 +1687,7 @@ nouveau_uvmm_vm_bind(struct nouveau_uvmm_bind_job_args *args)
1687
1687
1688
1688
static int
1689
1689
nouveau_uvmm_vm_bind_ucopy (struct nouveau_uvmm_bind_job_args * args ,
1690
- struct drm_nouveau_vm_bind __user * req )
1690
+ struct drm_nouveau_vm_bind * req )
1691
1691
{
1692
1692
struct drm_nouveau_sync * * s ;
1693
1693
u32 inc = req -> wait_count ;
@@ -1749,12 +1749,12 @@ nouveau_uvmm_vm_bind_ufree(struct nouveau_uvmm_bind_job_args *args)
1749
1749
1750
1750
int
1751
1751
nouveau_uvmm_ioctl_vm_bind (struct drm_device * dev ,
1752
- void __user * data ,
1752
+ void * data ,
1753
1753
struct drm_file * file_priv )
1754
1754
{
1755
1755
struct nouveau_cli * cli = nouveau_cli (file_priv );
1756
1756
struct nouveau_uvmm_bind_job_args args = {};
1757
- struct drm_nouveau_vm_bind __user * req = data ;
1757
+ struct drm_nouveau_vm_bind * req = data ;
1758
1758
int ret = 0 ;
1759
1759
1760
1760
if (unlikely (!nouveau_cli_uvmm_locked (cli )))
Original file line number Diff line number Diff line change @@ -89,10 +89,10 @@ void nouveau_uvmm_fini(struct nouveau_uvmm *uvmm);
89
89
void nouveau_uvmm_bo_map_all (struct nouveau_bo * nvbov , struct nouveau_mem * mem );
90
90
void nouveau_uvmm_bo_unmap_all (struct nouveau_bo * nvbo );
91
91
92
- int nouveau_uvmm_ioctl_vm_init (struct drm_device * dev , void __user * data ,
92
+ int nouveau_uvmm_ioctl_vm_init (struct drm_device * dev , void * data ,
93
93
struct drm_file * file_priv );
94
94
95
- int nouveau_uvmm_ioctl_vm_bind (struct drm_device * dev , void __user * data ,
95
+ int nouveau_uvmm_ioctl_vm_bind (struct drm_device * dev , void * data ,
96
96
struct drm_file * file_priv );
97
97
98
98
static inline void nouveau_uvmm_lock (struct nouveau_uvmm * uvmm )
You can’t perform that action at this time.
0 commit comments