diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-05 20:52:19 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-05 22:21:53 +0200 |
commit | d89b795b474e538f8466c5867aafa25b130a84c6 (patch) | |
tree | 05e7414ce5d43cf44fc1ea051872790b3f3ce7f5 /src/selftest/routingtable.h | |
parent | queueing: move from ctx to cb (diff) | |
download | wireguard-monolithic-historical-d89b795b474e538f8466c5867aafa25b130a84c6.tar.xz wireguard-monolithic-historical-d89b795b474e538f8466c5867aafa25b130a84c6.zip |
Makefile: clang now builds the kernel, so use scan-build
Also add little stub for coccinelle and clean up semicolon issue it
found.
Diffstat (limited to '')
-rw-r--r-- | src/selftest/routingtable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selftest/routingtable.h b/src/selftest/routingtable.h index 2f052fa..951eb59 100644 --- a/src/selftest/routingtable.h +++ b/src/selftest/routingtable.h @@ -68,7 +68,7 @@ static __init void horrible_routing_table_free(struct horrible_routing_table *ta hlist_for_each_entry_safe (node, h, &table->head, table) { hlist_del(&node->table); kfree(node); - }; + } } static __init inline union nf_inet_addr horrible_cidr_to_mask(uint8_t cidr) { @@ -168,7 +168,7 @@ static __init void *horrible_routing_table_lookup_v4(struct horrible_routing_tab ret = node->value; break; } - }; + } return ret; } static __init void *horrible_routing_table_lookup_v6(struct horrible_routing_table *table, struct in6_addr *ip) @@ -182,7 +182,7 @@ static __init void *horrible_routing_table_lookup_v6(struct horrible_routing_tab ret = node->value; break; } - }; + } return ret; } |