]> git.karo-electronics.de Git - linux-beck.git/commit
s390/uaccess: consistent types
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 24 Jan 2014 11:51:27 +0000 (12:51 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Feb 2014 07:50:15 +0000 (08:50 +0100)
commit211deca6bf413560b562d69748ebc4df5d80d65e
treef7975539a30a9460ae32aca62e16b4951a2412b0
parent4f41c2b4567dbfb7ff93e5c552b869e2865bcd9d
s390/uaccess: consistent types

The types 'size_t' and 'unsigned long' have been used randomly for the
uaccess functions. This looks rather confusing.
So let's change all functions to use unsigned long instead and get rid
of size_t in order to have a consistent interface.

The only exception is strncpy_from_user() which uses 'long' since it
may return a signed value (-EFAULT).

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/uaccess.h
arch/s390/lib/uaccess.h
arch/s390/lib/uaccess_mvcos.c
arch/s390/lib/uaccess_pt.c
arch/s390/mm/maccess.c