OrangePi_CM5/arch/cris/include/uapi/asm
Geert Uytterhoeven ddfe9b359f cris: use "int" for ssize_t to match size_t
On cris-linux-gcc, __SIZE_TYPE__ expands to "unsigned int", as
gcc-4.6.3-nolibc/cris-linux/lib/gcc/cris-linux/4.6.3/plugin/include/config/cris/linux.h
has

    #define SIZE_TYPE "unsigned int"

Hence __kernel_size_t is also "unsigned int".  But __kernel_ssize_t is
"long", which has a different base type, causing compiler warnings like:

    fs/quota/quota_tree.c:372:4: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'ssize_t' [-Wformat]

To fix this, __kernel_ssize_t should be changed to "int". Hence cris can
just use the generic 32-bit versions from include/asm-generic/posix_types.h
for all size-related types.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mikael Starvik <starvik@axis.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-21 17:22:16 -08:00
..
Kbuild
…
auxvec.h
…
bitsperlong.h
…
byteorder.h
…
errno.h
…
ethernet.h
…
etraxgpio.h
…
fcntl.h
…
ioctl.h
…
ioctls.h
…
ipcbuf.h
…
mman.h
…
msgbuf.h
…
param.h
…
poll.h
…
posix_types.h cris: use "int" for ssize_t to match size_t 2013-02-21 17:22:16 -08:00
ptrace.h
…
resource.h
…
rs485.h
…
sembuf.h
…
setup.h
…
shmbuf.h
…
sigcontext.h
…
siginfo.h
…
signal.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-12-20 18:05:28 -08:00
socket.h soreuseport: infrastructure 2013-01-23 13:44:00 -05:00
sockios.h
…
stat.h
…
statfs.h
…
swab.h UAPI: Fix up empty files in arch/cris/ 2012-12-20 12:51:25 +01:00
sync_serial.h
…
termbits.h
…
termios.h
…
types.h
…
unistd.h
…