Name of failed tests ====================
bracket_align master distributed-arp-table.h checkpatch master distributed-arp-table.h cppcheck master cppcheck next
Output of different failed tests ================================
bracket_align master distributed-arp-table.h:
>>
Found wrong alignment at distributed-arp-table.h:63, was 30 but expected 26
checkpatch master distributed-arp-table.h:
>>
CHECK: Alignment should match open parenthesis #63: FILE: distributed-arp-table.h:63: +batadv_dat_init_own_addr(struct batadv_priv *bat_priv, + struct batadv_hard_iface *primary_if)
total: 0 errors, 0 warnings, 1 checks, 168 lines checked
cppcheck master:
>>
[gateway_client.c:182]: (style) Variable 'max_gw_factor' is assigned a value that is never used [gateway_client.c:179]: (style) Variable 'max_tq' is assigned a value that is never used [routing.c:914] -> [routing.c:917]: (performance) Variable 'orig_node' is reassigned a value before the old one has been used. [sysfs.c:742] -> [sysfs.c:746]: (performance) Variable 'primary_if' is reassigned a value before the old one has been used. [translation-table.c:259] -> [translation-table.c:267]: (performance) Variable 'tt_local' is reassigned a value before the old one has been used. [translation-table.c:260] -> [translation-table.c:268]: (performance) Variable 'tt_global' is reassigned a value before the old one has been used. [translation-table.c:546] -> [translation-table.c:549]: (performance) Variable 'tt_local_entry' is reassigned a value before the old one has been used. [translation-table.c:786] -> [translation-table.c:793]: (performance) Variable 'tt_global_entry' is reassigned a value before the old one has been used. [translation-table.c:787] -> [translation-table.c:794]: (performance) Variable 'tt_local_entry' is reassigned a value before the old one has been used. [translation-table.c:1077] -> [translation-table.c:1080]: (performance) Variable 'tt_global_entry' is reassigned a value before the old one has been used. [translation-table.c:1680] -> [translation-table.c:1700]: (performance) Variable 'req_dst_orig_node' is reassigned a value before the old one has been used. [translation-table.c:1815] -> [translation-table.c:1837]: (performance) Variable 'orig_node' is reassigned a value before the old one has been used. [translation-table.c:1981] -> [translation-table.c:1983]: (performance) Variable 'orig_node' is reassigned a value before the old one has been used. [translation-table.c:2023] -> [translation-table.c:2026]: (performance) Variable 'tt_local_entry' is reassigned a value before the old one has been used. [translation-table.c:1319]: (style) Variable 'best_tq' is assigned a value that is never used
cppcheck next:
>>
[gateway_client.c:182]: (style) Variable 'max_gw_factor' is assigned a value that is never used [gateway_client.c:179]: (style) Variable 'max_tq' is assigned a value that is never used [sysfs.c:733] -> [sysfs.c:737]: (performance) Variable 'primary_if' is reassigned a value before the old one has been used. [translation-table.c:245] -> [translation-table.c:252]: (performance) Variable 'tt_local_entry' is reassigned a value before the old one has been used. [translation-table.c:507] -> [translation-table.c:510]: (performance) Variable 'tt_local_entry' is reassigned a value before the old one has been used. [translation-table.c:724] -> [translation-table.c:729]: (performance) Variable 'tt_global_entry' is reassigned a value before the old one has been used. [translation-table.c:993] -> [translation-table.c:996]: (performance) Variable 'tt_global_entry' is reassigned a value before the old one has been used. [translation-table.c:1595] -> [translation-table.c:1615]: (performance) Variable 'req_dst_orig_node' is reassigned a value before the old one has been used. [translation-table.c:1730] -> [translation-table.c:1752]: (performance) Variable 'orig_node' is reassigned a value before the old one has been used. [translation-table.c:1896] -> [translation-table.c:1898]: (performance) Variable 'orig_node' is reassigned a value before the old one has been used. [translation-table.c:1938] -> [translation-table.c:1941]: (performance) Variable 'tt_local_entry' is reassigned a value before the old one has been used. [translation-table.c:1234]: (style) Variable 'best_tq' is assigned a value that is never used