search for: __generic_copy_to_user

Displaying 3 results from an estimated 3 matches for "__generic_copy_to_user".

2016 Mar 18
0
[PATCH] gpu/drm: Use u64_to_user_pointer
...^ arch/m68k/include/asm/uaccess_mm.h:320:1: note: expected 'void *' but argument is of type 'int' __constant_copy_to_user(void __user *to, const void *from, unsigned long n) ^ >> arch/m68k/include/asm/uaccess_mm.h:374:2: warning: passing argument 1 of '__generic_copy_to_user' makes pointer from integer without a cast __generic_copy_to_user(to, from, n)) ^ >> arch/m68k/include/asm/uaccess_mm.h:380:35: note: in expansion of macro '__copy_to_user' #define copy_to_user(to, from, n) __copy_to_user(to, from, n)...
2016 Mar 18
4
[PATCH] gpu/drm: Use u64_to_user_pointer
Use the newly added u64_to_user_pointer a bit more frequently. Signed-off-by: Joe Perches <joe at perches.com> --- drivers/gpu/drm/armada/armada_gem.c | 2 +- drivers/gpu/drm/nouveau/nouveau_gem.c | 7 ++++--- drivers/gpu/drm/tegra/drm.c | 15 ++++++++------- drivers/gpu/drm/vc4/vc4_bo.c | 4 ++-- drivers/gpu/drm/vc4/vc4_gem.c | 10 +++++-----
2016 Mar 18
4
[PATCH] gpu/drm: Use u64_to_user_pointer
Use the newly added u64_to_user_pointer a bit more frequently. Signed-off-by: Joe Perches <joe at perches.com> --- drivers/gpu/drm/armada/armada_gem.c | 2 +- drivers/gpu/drm/nouveau/nouveau_gem.c | 7 ++++--- drivers/gpu/drm/tegra/drm.c | 15 ++++++++------- drivers/gpu/drm/vc4/vc4_bo.c | 4 ++-- drivers/gpu/drm/vc4/vc4_gem.c | 10 +++++-----