Name of failed tests ====================
checkpatch next bat_iv_ogm.c checkpatch next bridge_loop_avoidance.c checkpatch next distributed-arp-table.c checkpatch next fragmentation.c checkpatch next icmp_socket.c checkpatch next main.c checkpatch next network-coding.c checkpatch next originator.c checkpatch next routing.c checkpatch next send.c checkpatch next soft-interface.c checkpatch next translation-table.c smatch master linux-3.0 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.0 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.0 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.0 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.1 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.1 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.1 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.1 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.10 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.10 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.10 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.10 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.11 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.11 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.11 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.11 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.12 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.12 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.12 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.12 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.2 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.2 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.2 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.2 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.3 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.3 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.3 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.3 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.4 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.4 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.4 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.4 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.5 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.5 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.5 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.5 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.6 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.6 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.6 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.6 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.7 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.7 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.7 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.7 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.8 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.8 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.8 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.8 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y smatch master linux-3.9 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.9 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.9 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n smatch master linux-3.9 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
Output of different failed tests ================================
checkpatch next bat_iv_ogm.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #823: FILE: bat_iv_ogm.c:823: + memcpy(batadv_ogm_packet->prev_sender, ethhdr->h_source, ETH_ALEN);
total: 0 errors, 1 warnings, 0 checks, 1967 lines checked
checkpatch next bridge_loop_avoidance.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #194: FILE: bridge_loop_avoidance.c:194: + memcpy(search_entry.orig, addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #308: FILE: bridge_loop_avoidance.c:308: + memcpy(ethhdr->h_source, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #317: FILE: bridge_loop_avoidance.c:317: + memcpy(hw_src, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #326: FILE: bridge_loop_avoidance.c:326: + memcpy(hw_src, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #336: FILE: bridge_loop_avoidance.c:336: + memcpy(hw_src, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #337: FILE: bridge_loop_avoidance.c:337: + memcpy(ethhdr->h_dest, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #398: FILE: bridge_loop_avoidance.c:398: + memcpy(entry->orig, orig, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #566: FILE: bridge_loop_avoidance.c:566: + memcpy(search_claim.addr, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #576: FILE: bridge_loop_avoidance.c:576: + memcpy(claim->addr, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #627: FILE: bridge_loop_avoidance.c:627: + memcpy(search_claim.addr, mac, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1313: FILE: bridge_loop_avoidance.c:1313: + memcpy(entry->orig, bcast_packet->orig, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1461: FILE: bridge_loop_avoidance.c:1461: + memcpy(search_claim.addr, ethhdr->h_source, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1563: FILE: bridge_loop_avoidance.c:1563: + memcpy(search_claim.addr, ethhdr->h_source, ETH_ALEN);
total: 0 errors, 13 warnings, 0 checks, 1704 lines checked
checkpatch next distributed-arp-table.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #280: FILE: distributed-arp-table.c:280: + memcpy(dat_entry->mac_addr, mac_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #295: FILE: distributed-arp-table.c:295: + memcpy(dat_entry->mac_addr, mac_addr, ETH_ALEN);
total: 0 errors, 2 warnings, 0 checks, 1197 lines checked
checkpatch next fragmentation.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #452: FILE: fragmentation.c:452: + memcpy(frag_header.orig, primary_if->net_dev->dev_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #453: FILE: fragmentation.c:453: + memcpy(frag_header.dest, orig_node->orig, ETH_ALEN);
total: 0 errors, 2 warnings, 0 checks, 489 lines checked
checkpatch next icmp_socket.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #253: FILE: icmp_socket.c:253: + memcpy(icmp_header->orig, primary_if->net_dev->dev_addr, ETH_ALEN);
total: 0 errors, 1 warnings, 0 checks, 384 lines checked
checkpatch next main.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1136: FILE: main.c:1136: + memcpy(unicast_tvlv_packet->src, src, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1137: FILE: main.c:1137: + memcpy(unicast_tvlv_packet->dst, dst, ETH_ALEN);
total: 0 errors, 2 warnings, 0 checks, 1248 lines checked
checkpatch next network-coding.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #822: FILE: network-coding.c:822: + memcpy(nc_node->addr, orig_node->orig, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #944: FILE: network-coding.c:944: + memcpy(nc_path->next_hop, dst, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #945: FILE: network-coding.c:945: + memcpy(nc_path->prev_hop, src, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1117: FILE: network-coding.c:1117: + memcpy(coded_packet->first_source, first_source, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1118: FILE: network-coding.c:1118: + memcpy(coded_packet->first_orig_dest, packet1->dest, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1123: FILE: network-coding.c:1123: + memcpy(coded_packet->second_dest, second_dest, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1124: FILE: network-coding.c:1124: + memcpy(coded_packet->second_source, second_source, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1125: FILE: network-coding.c:1125: + memcpy(coded_packet->second_orig_dest, packet2->dest, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1352: FILE: network-coding.c:1352: + memcpy(ethhdr->h_source, ethhdr->h_dest, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1353: FILE: network-coding.c:1353: + memcpy(ethhdr->h_dest, eth_dst_new, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1649: FILE: network-coding.c:1649: + memcpy(ethhdr->h_dest, coded_packet_tmp.second_dest, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1685: FILE: network-coding.c:1685: + memcpy(unicast_packet->dest, orig_dest, ETH_ALEN);
total: 0 errors, 12 warnings, 0 checks, 1936 lines checked
checkpatch next originator.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #449: FILE: originator.c:449: + memcpy(neigh_node->addr, neigh_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #633: FILE: originator.c:633: + memcpy(orig_node->orig, addr, ETH_ALEN);
total: 0 errors, 2 warnings, 0 checks, 1084 lines checked
checkpatch next routing.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #225: FILE: routing.c:225: + memcpy(icmph->dst, icmph->orig, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #226: FILE: routing.c:226: + memcpy(icmph->orig, primary_if->net_dev->dev_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #279: FILE: routing.c:279: + memcpy(icmp_packet->dst, icmp_packet->orig, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #667: FILE: routing.c:667: + memcpy(unicast_packet->dest, orig_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #777: FILE: routing.c:777: + memcpy(unicast_packet->dest, primary_if->net_dev->dev_addr, ETH_ALEN);
total: 0 errors, 5 warnings, 0 checks, 1084 lines checked
checkpatch next send.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #62: FILE: send.c:62: + memcpy(ethhdr->h_source, hard_iface->net_dev->dev_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #63: FILE: send.c:63: + memcpy(ethhdr->h_dest, dst_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #168: FILE: send.c:168: + memcpy(unicast_packet->dest, orig_node->orig, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #223: FILE: send.c:223: + memcpy(uc_4addr_packet->src, primary_if->net_dev->dev_addr, ETH_ALEN);
total: 0 errors, 4 warnings, 0 checks, 643 lines checked
checkpatch next soft-interface.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #114: FILE: soft-interface.c:114: + memcpy(old_addr, dev->dev_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #115: FILE: soft-interface.c:115: + memcpy(dev->dev_addr, addr->sa_data, ETH_ALEN);
total: 0 errors, 2 warnings, 0 checks, 1054 lines checked
checkpatch next translation-table.c:
>>
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #99: FILE: translation-table.c:99: + memcpy(to_search.addr, addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #336: FILE: translation-table.c:336: + memcpy(tt_change_node->change.addr, common->addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #552: FILE: translation-table.c:552: + memcpy(tt_local->common.addr, addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #1280: FILE: translation-table.c:1280: + memcpy(common->addr, tt_addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #2155: FILE: translation-table.c:2155: + memcpy(tt_req_node->addr, orig_node->orig, ETH_ALEN);
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #2927: FILE: translation-table.c:2927: + memcpy(tt_roam_node->addr, client, ETH_ALEN);
total: 0 errors, 6 warnings, 0 checks, 3612 lines checked
smatch master linux-3.12 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>
/home/batman/build_test/tmp/send.c:257 batadv_send_skb_unicast warn: unused return: ethhdr = eth_hdr() /home/batman/build_test/tmp/soft-interface.c:233 batadv_interface_tx warn: unused return: ethhdr = eth_hdr()
smatch master linux-3.8 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>
/home/batman/build_test/tmp/send.c:257 batadv_send_skb_unicast warn: unused return: ethhdr = eth_hdr() /home/batman/build_test/tmp/soft-interface.c:233 __batadv_interface_tx warn: unused return: ethhdr = eth_hdr()
linux-merge@lists.open-mesh.org