summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-03-02 20:01:05 +0100
committerHelge Deller <deller@gmx.de>2013-03-02 20:01:05 +0100
commit8527ed4a7086e7312b8d021ea36d367f7e378c2e (patch)
tree5c980c6f21806b50f4bf11bb414d4e217135a0a5 /scripts
parent15fb9683c3e4eb1f8c6c982079a806b3894c2ba0 (diff)
downloadlinux-8527ed4a7086e7312b8d021ea36d367f7e378c2e.tar.gz
linux-8527ed4a7086e7312b8d021ea36d367f7e378c2e.tar.bz2
linux-8527ed4a7086e7312b8d021ea36d367f7e378c2e.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions