mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
8527ed4a70
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> |
||
---|---|---|
.. | ||
asm | ||
uapi/asm |