aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_metrics.c
Commit message (Collapse)AuthorAgeFilesLines
* net: Fix maybe-uninitialized variablesChristopher N. Hesse2017-04-251-0/+10
| | | | Change-Id: I83202d1362a1d01fbd5be6c23f2f47fe60efcb61
* net: ipv4: fix maybe-uninitialized warningsNathan Chancellor2017-04-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | In file included from include/net/inetpeer.h:15:0, from net/ipv4/tcp_metrics.c:16: net/ipv4/tcp_metrics.c: In function 'tcp_peer_is_proven': include/net/ipv6.h:436:38: warning: '*((void *)&addr+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] return ((ul1[0] ^ ul2[0]) | (ul1[1] ^ ul2[1])) == 0UL; ~~~~~~~~^~~~~~~~~ net/ipv4/tcp_metrics.c:228:23: note: '*((void *)&addr+8)' was declared here struct inetpeer_addr addr; ^~~~ In file included from include/net/inetpeer.h:15:0, from net/ipv4/tcp_metrics.c:16: net/ipv4/tcp_metrics.c: In function 'tcp_tw_remember_stamp': include/net/ipv6.h:436:38: warning: '*((void *)&addr+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] return ((ul1[0] ^ ul2[0]) | (ul1[1] ^ ul2[1])) == 0UL; ~~~~~~~~^~~~~~~~~ net/ipv4/tcp_metrics.c:262:23: note: '*((void *)&addr+8)' was declared here struct inetpeer_addr addr; ^~~~ Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
* first commitMeizu OpenSource2016-08-151-0/+1110