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
..
2013-03-02 20:01:05 +01:00
2012-03-28 18:30:02 +01:00
2011-07-26 16:49:47 -07:00
2012-06-05 14:10:17 +09:00
2010-10-21 21:20:09 -04:00
2013-02-20 22:50:38 +01:00
2012-04-02 14:41:26 -07:00
2013-02-20 22:56:50 +01:00
2012-03-28 18:30:02 +01:00
2013-01-29 08:27:41 +01:00
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2013-02-20 22:55:26 +01:00
2013-02-20 22:50:26 +01:00
2012-02-27 09:35:08 -06:00
2012-05-10 15:12:08 -07:00
2011-02-10 10:22:14 -06:00
2010-10-07 14:08:55 +01:00
2012-05-08 14:19:41 -07:00
2012-11-13 15:48:27 -05:00
2012-03-28 18:30:02 +01:00
2011-07-26 16:49:47 -07:00
2013-02-20 22:57:49 +01:00
2012-09-28 14:31:03 +09:30
2013-02-20 22:49:19 +01:00
2013-01-03 15:57:13 -08:00
2012-02-23 20:19:04 -07:00
2012-10-16 21:28:05 +01:00
2010-10-18 19:58:50 +02:00
2013-01-19 10:54:45 +00:00
2012-05-16 13:15:21 +01:00
2012-11-28 21:53:36 -05:00
2012-03-28 18:30:02 +01:00
2012-10-16 21:28:05 +01:00
2013-02-23 18:50:11 -08:00
2012-05-25 12:35:45 +01:00
2012-03-28 18:30:02 +01:00
2012-05-10 15:12:08 -07:00
2012-03-28 18:30:02 +01:00
2012-10-16 21:28:05 +01:00
2012-10-01 09:58:14 -04:00
2012-03-28 18:30:02 +01:00
2012-05-31 11:14:37 +01:00
2013-02-23 18:50:11 -08:00