linux/arch/parisc
Helge Deller 8527ed4a70 parisc: fix compile warnings triggered by atomic_sub(sizeof(),v)
This fixes compile warnings like this one:
net/ipv4/igmp.c: In function ‘ip_mc_leave_group’:
net/ipv4/igmp.c:1898:3: warning: overflow in implicit constant conversion [-Woverflow]

atomic_sub() is defined as __atomic_add_return(-(VAL),(v))))
and if VAL is of type unsigned int (as returned by sizeof()), negating
this value will overflow. Fix this by type-casting VAL to int type.

Signed-off-by: Helge Deller <deller@gmx.de>
2013-03-02 20:01:05 +01:00
..
configs kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
hpux [PARISC] hpux: Remove obsolete regs parameter from do_execve() in hpux_execve() 2013-01-30 13:26:57 +11:00
include parisc: fix compile warnings triggered by atomic_sub(sizeof(),v) 2013-03-02 20:01:05 +01:00
kernel parisc: remove unused variable 'compat_val' 2013-03-02 19:56:18 +01:00
lib parisc: avoid unitialized variable warning in pa_memcpy() 2013-03-02 19:56:27 +01:00
math-emu parisc: avoid undefined shift in cnv_float.h 2013-01-07 23:06:22 +01:00
mm parisc/mm/fault.c: Port OOM changes to do_page_fault 2013-02-20 22:51:31 +01:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
defpalo.conf
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
Kconfig parisc: select ARCH_WANT_FRAME_POINTERS 2013-03-02 19:54:07 +01:00
Kconfig.debug parisc: add strict copy size checks (v2) 2010-03-06 22:54:09 +00:00
Makefile parisc: add CONFIG_MLONGCALLS option to enable linkage of huge vmlinux executables 2013-02-20 22:46:57 +01:00
nm