aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2015-07-22 07:02:00 +0200
committerDavid S. Miller <[email protected]>2015-07-21 22:13:13 -0700
commit89e478a2aa58af2548b7f316e4d5b6bcc9eade5b (patch)
tree59ae3e07a4e444237effc1b00652d733ddb2760c /tools/perf/scripts/python/call-graph-from-postgresql.py
parent0bccece59212466703590b1eee6924ab878545ff (diff)
tcp: suppress a division by zero warning
Andrew Morton reported following warning on one ARM build with gcc-4.4 : net/ipv4/inet_hashtables.c: In function 'inet_ehash_locks_alloc': net/ipv4/inet_hashtables.c:617: warning: division by zero Even guarded with a test on sizeof(spinlock_t), compiler does not like current construct on a !CONFIG_SMP build. Remove the warning by using a temporary variable. Fixes: 095dc8e0c368 ("tcp: fix/cleanup inet_ehash_locks_alloc()") Reported-by: Andrew Morton <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions