[S390] Get rid of a lot of sparse warnings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
55dff5224a
commit
2b67fc4606
69 changed files with 210 additions and 189 deletions
23
arch/s390/lib/uaccess.h
Normal file
23
arch/s390/lib/uaccess.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* arch/s390/uaccess.h
|
||||
*
|
||||
* Copyright IBM Corp. 2007
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_S390_LIB_UACCESS_H
|
||||
#define __ARCH_S390_LIB_UACCESS_H
|
||||
|
||||
extern size_t copy_from_user_std(size_t, const void __user *, void *);
|
||||
extern size_t copy_to_user_std(size_t, void __user *, const void *);
|
||||
extern size_t strnlen_user_std(size_t, const char __user *);
|
||||
extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
|
||||
extern int futex_atomic_cmpxchg_std(int __user *, int, int);
|
||||
extern int futex_atomic_op_std(int, int __user *, int, int *);
|
||||
|
||||
extern size_t copy_from_user_pt(size_t, const void __user *, void *);
|
||||
extern size_t copy_to_user_pt(size_t, void __user *, const void *);
|
||||
extern int futex_atomic_op_pt(int, int __user *, int, int *);
|
||||
extern int futex_atomic_cmpxchg_pt(int __user *, int, int);
|
||||
|
||||
#endif /* __ARCH_S390_LIB_UACCESS_H */
|
Loading…
Add table
Add a link
Reference in a new issue