Name of failed tests
====================
* checkpatch master ./net/batman-adv/bat_iv_ogm.c
* checkpatch master ./net/batman-adv/bitarray.c
* checkpatch master ./net/batman-adv/bitarray.h
* checkpatch master ./net/batman-adv/bridge_loop_avoidance.c
* checkpatch master ./net/batman-adv/bridge_loop_avoidance.h
* checkpatch master ./net/batman-adv/distributed-arp-table.c
* checkpatch master ./net/batman-adv/distributed-arp-table.h
* checkpatch master ./net/batman-adv/fragmentation.c
* checkpatch master ./net/batman-adv/gateway_client.c
* checkpatch master ./net/batman-adv/gateway_common.c
* checkpatch master ./net/batman-adv/hash.c
* checkpatch master ./net/batman-adv/hash.h
* checkpatch master ./net/batman-adv/icmp_socket.c
* checkpatch master ./net/batman-adv/main.c
* checkpatch master ./net/batman-adv/main.h
* checkpatch master ./net/batman-adv/multicast.c
* checkpatch master ./net/batman-adv/network-coding.c
* checkpatch master ./net/batman-adv/originator.c
* checkpatch master ./net/batman-adv/originator.h
* checkpatch master ./net/batman-adv/packet.h
* checkpatch master ./net/batman-adv/routing.c
* checkpatch master ./net/batman-adv/send.c
* checkpatch master ./net/batman-adv/send.h
* checkpatch master ./net/batman-adv/soft-interface.c
* checkpatch master ./net/batman-adv/sysfs.c
* checkpatch master ./net/batman-adv/translation-table.c
* checkpatch master ./net/batman-adv/translation-table.h
* checkpatch master ./net/batman-adv/types.h
* checkpatch next ./net/batman-adv/bat_iv_ogm.c
* checkpatch next ./net/batman-adv/bitarray.c
* checkpatch next ./net/batman-adv/bitarray.h
* checkpatch next ./net/batman-adv/bridge_loop_avoidance.c
* checkpatch next ./net/batman-adv/bridge_loop_avoidance.h
* checkpatch next ./net/batman-adv/distributed-arp-table.c
* checkpatch next ./net/batman-adv/distributed-arp-table.h
* checkpatch next ./net/batman-adv/fragmentation.c
* checkpatch next ./net/batman-adv/gateway_client.c
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/hash.c
* checkpatch next ./net/batman-adv/hash.h
* checkpatch next ./net/batman-adv/icmp_socket.c
* checkpatch next ./net/batman-adv/main.c
* checkpatch next ./net/batman-adv/main.h
* checkpatch next ./net/batman-adv/multicast.c
* checkpatch next ./net/batman-adv/network-coding.c
* checkpatch next ./net/batman-adv/originator.c
* checkpatch next ./net/batman-adv/originator.h
* checkpatch next ./net/batman-adv/packet.h
* checkpatch next ./net/batman-adv/routing.c
* checkpatch next ./net/batman-adv/send.c
* checkpatch next ./net/batman-adv/send.h
* checkpatch next ./net/batman-adv/soft-interface.c
* checkpatch next ./net/batman-adv/sysfs.c
* checkpatch next ./net/batman-adv/translation-table.c
* checkpatch next ./net/batman-adv/translation-table.h
* checkpatch next ./net/batman-adv/types.h
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/bat_iv_ogm.c
---------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#80: FILE: ./net/batman-adv/bat_iv_ogm.c:80:
+static void batadv_ring_buffer_set(uint8_t lq_recv[], uint8_t *lq_index,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#94: FILE: ./net/batman-adv/bat_iv_ogm.c:94:
+static uint8_t batadv_ring_buffer_avg(const uint8_t lq_recv[])
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#96: FILE: ./net/batman-adv/bat_iv_ogm.c:96:
+ const uint8_t *ptr;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#97: FILE: ./net/batman-adv/bat_iv_ogm.c:97:
+ uint16_t count = 0;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#98: FILE: ./net/batman-adv/bat_iv_ogm.c:98:
+ uint16_t i = 0;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#99: FILE: ./net/batman-adv/bat_iv_ogm.c:99:
+ uint16_t sum = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#296: FILE: ./net/batman-adv/bat_iv_ogm.c:296:
+ const uint8_t *neigh_addr,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#342: FILE: ./net/batman-adv/bat_iv_ogm.c:342:
+ uint32_t random_seqno;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#414: FILE: ./net/batman-adv/bat_iv_ogm.c:414:
+static uint8_t batadv_hop_penalty(uint8_t tq,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#445: FILE: ./net/batman-adv/bat_iv_ogm.c:445:
+ uint8_t packet_num;
CHECK: Prefer kernel type 's16' over 'int16_t'
#446: FILE: ./net/batman-adv/bat_iv_ogm.c:446:
+ int16_t buff_pos;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#449: FILE: ./net/batman-adv/bat_iv_ogm.c:449:
+ uint8_t *packet_pos;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#840: FILE: ./net/batman-adv/bat_iv_ogm.c:840:
+ uint16_t tvlv_len;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#899: FILE: ./net/batman-adv/bat_iv_ogm.c:899:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#901: FILE: ./net/batman-adv/bat_iv_ogm.c:901:
+ uint8_t *w;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#930: FILE: ./net/batman-adv/bat_iv_ogm.c:930:
+ uint32_t seqno;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#931: FILE: ./net/batman-adv/bat_iv_ogm.c:931:
+ uint16_t tvlv_len = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1013: FILE: ./net/batman-adv/bat_iv_ogm.c:1013:
+ uint8_t sum_orig, sum_neigh;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1014: FILE: ./net/batman-adv/bat_iv_ogm.c:1014:
+ uint8_t *neigh_addr;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1015: FILE: ./net/batman-adv/bat_iv_ogm.c:1015:
+ uint8_t tq_avg;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1167: FILE: ./net/batman-adv/bat_iv_ogm.c:1167:
+ uint8_t total_count;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1168: FILE: ./net/batman-adv/bat_iv_ogm.c:1168:
+ uint8_t orig_eq_count, neigh_rq_count, neigh_rq_inv, tq_own;
CHECK: Prefer kernel type 's32' over 'int32_t'
#1314: FILE: ./net/batman-adv/bat_iv_ogm.c:1314:
+ int32_t seq_diff;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1318: FILE: ./net/batman-adv/bat_iv_ogm.c:1318:
+ uint32_t seqno = ntohl(batadv_ogm_packet->seqno);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1319: FILE: ./net/batman-adv/bat_iv_ogm.c:1319:
+ uint8_t *neigh_addr;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1320: FILE: ./net/batman-adv/bat_iv_ogm.c:1320:
+ uint8_t packet_count;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1421: FILE: ./net/batman-adv/bat_iv_ogm.c:1421:
+ uint8_t *prev_sender;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1603: FILE: ./net/batman-adv/bat_iv_ogm.c:1603:
+ uint32_t if_incoming_seqno;
CHECK: Prefer kernel type 's32' over 'int32_t'
#1676: FILE: ./net/batman-adv/bat_iv_ogm.c:1676:
+ int32_t bit_pos;
CHECK: Prefer kernel type 's16' over 'int16_t'
#1677: FILE: ./net/batman-adv/bat_iv_ogm.c:1677:
+ int16_t if_num;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1678: FILE: ./net/batman-adv/bat_iv_ogm.c:1678:
+ uint8_t *weight;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1754: FILE: ./net/batman-adv/bat_iv_ogm.c:1754:
+ uint8_t *packet_pos;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1838: FILE: ./net/batman-adv/bat_iv_ogm.c:1838:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1906: FILE: ./net/batman-adv/bat_iv_ogm.c:1906:
+ uint8_t tq1, tq2;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1948: FILE: ./net/batman-adv/bat_iv_ogm.c:1948:
+ uint8_t tq1, tq2;
total: 0 errors, 0 warnings, 35 checks, 2009 lines checked
checkpatch next ./net/batman-adv/bitarray.c
-------------------------------------------
CHECK: Prefer kernel type 's32' over 'int32_t'
#39: FILE: ./net/batman-adv/bitarray.c:39:
+ int32_t seq_num_diff, int set_mark)
total: 0 errors, 0 warnings, 1 checks, 92 lines checked
checkpatch next ./net/batman-adv/bitarray.h
-------------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#31: FILE: ./net/batman-adv/bitarray.h:31:
+ uint32_t last_seqno, uint32_t curr_seqno)
CHECK: Prefer kernel type 's32' over 'int32_t'
#33: FILE: ./net/batman-adv/bitarray.h:33:
+ int32_t diff;
CHECK: Prefer kernel type 's32' over 'int32_t'
#55: FILE: ./net/batman-adv/bitarray.h:55:
+ int32_t seq_num_diff, int set_mark);
total: 0 errors, 0 warnings, 3 checks, 57 lines checked
checkpatch next ./net/batman-adv/bridge_loop_avoidance.c
--------------------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#54: FILE: ./net/batman-adv/bridge_loop_avoidance.c:54:
+static const uint8_t batadv_announce_mac[4] = {0x43, 0x05, 0x43, 0x05};
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#65: FILE: ./net/batman-adv/bridge_loop_avoidance.c:65:
+ uint32_t hash = 0;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#78: FILE: ./net/batman-adv/bridge_loop_avoidance.c:78:
+ uint32_t hash = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#196: FILE: ./net/batman-adv/bridge_loop_avoidance.c:196:
+ uint8_t *addr, unsigned short vid)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#279: FILE: ./net/batman-adv/bridge_loop_avoidance.c:279:
+ uint8_t *hw_src;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#555: FILE: ./net/batman-adv/bridge_loop_avoidance.c:555:
+ uint8_t mac[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#574: FILE: ./net/batman-adv/bridge_loop_avoidance.c:574:
+ const uint8_t *mac, const unsigned short vid,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#638: FILE: ./net/batman-adv/bridge_loop_avoidance.c:638:
+ const uint8_t *mac, const unsigned short vid)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#663: FILE: ./net/batman-adv/bridge_loop_avoidance.c:663:
+ uint8_t *an_addr, uint8_t *backbone_addr,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#667: FILE: ./net/batman-adv/bridge_loop_avoidance.c:667:
+ uint16_t crc;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#711: FILE: ./net/batman-adv/bridge_loop_avoidance.c:711:
+ uint8_t *backbone_addr,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#735: FILE: ./net/batman-adv/bridge_loop_avoidance.c:735:
+ uint8_t *backbone_addr,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#736: FILE: ./net/batman-adv/bridge_loop_avoidance.c:736:
+ uint8_t *claim_addr, unsigned short vid)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#764: FILE: ./net/batman-adv/bridge_loop_avoidance.c:764:
+ uint8_t *backbone_addr, uint8_t *claim_addr,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#808: FILE: ./net/batman-adv/bridge_loop_avoidance.c:808:
+ uint8_t *hw_src, uint8_t *hw_dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#811: FILE: ./net/batman-adv/bridge_loop_avoidance.c:811:
+ uint8_t *backbone_addr;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#880: FILE: ./net/batman-adv/bridge_loop_avoidance.c:880:
+ uint8_t *hw_src, *hw_dst;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1241: FILE: ./net/batman-adv/bridge_loop_avoidance.c:1241:
+ uint8_t claim_dest[ETH_ALEN] = {0xff, 0x43, 0x05, 0x00, 0x00, 0x00};
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1243: FILE: ./net/batman-adv/bridge_loop_avoidance.c:1243:
+ uint16_t crc;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1650: FILE: ./net/batman-adv/bridge_loop_avoidance.c:1650:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1652: FILE: ./net/batman-adv/bridge_loop_avoidance.c:1652:
+ uint8_t *primary_addr;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1695: FILE: ./net/batman-adv/bridge_loop_avoidance.c:1695:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1697: FILE: ./net/batman-adv/bridge_loop_avoidance.c:1697:
+ uint8_t *primary_addr;
total: 0 errors, 0 warnings, 23 checks, 1736 lines checked
checkpatch next ./net/batman-adv/bridge_loop_avoidance.h
--------------------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#87: FILE: ./net/batman-adv/bridge_loop_avoidance.h:87:
+ uint8_t *orig,
total: 0 errors, 0 warnings, 1 checks, 118 lines checked
checkpatch next ./net/batman-adv/distributed-arp-table.c
--------------------------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#104: FILE: ./net/batman-adv/distributed-arp-table.c:104:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#172: FILE: ./net/batman-adv/distributed-arp-table.c:172:
+ uint8_t *addr;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#225: FILE: ./net/batman-adv/distributed-arp-table.c:225:
+ uint32_t hash = 0;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#228: FILE: ./net/batman-adv/distributed-arp-table.c:228:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#267: FILE: ./net/batman-adv/distributed-arp-table.c:267:
+ uint32_t index;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#302: FILE: ./net/batman-adv/distributed-arp-table.c:302:
+ uint8_t *mac_addr, unsigned short vid)
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#359: FILE: ./net/batman-adv/distributed-arp-table.c:359:
+ uint16_t type, int hdr_size, char *msg)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#363: FILE: ./net/batman-adv/distributed-arp-table.c:363:
+ uint8_t *orig_addr;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#426: FILE: ./net/batman-adv/distributed-arp-table.c:426:
+ uint16_t type, int hdr_size, char *msg)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#711: FILE: ./net/batman-adv/distributed-arp-table.c:711:
+ uint8_t flags,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#789: FILE: ./net/batman-adv/distributed-arp-table.c:789:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#838: FILE: ./net/batman-adv/distributed-arp-table.c:838:
+ uint8_t *hw_src, *hw_dst;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#839: FILE: ./net/batman-adv/distributed-arp-table.c:839:
+ uint16_t type = 0;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#936: FILE: ./net/batman-adv/distributed-arp-table.c:936:
+ uint16_t type = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#938: FILE: ./net/batman-adv/distributed-arp-table.c:938:
+ uint8_t *hw_src;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1024: FILE: ./net/batman-adv/distributed-arp-table.c:1024:
+ uint16_t type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1026: FILE: ./net/batman-adv/distributed-arp-table.c:1026:
+ uint8_t *hw_src;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1102: FILE: ./net/batman-adv/distributed-arp-table.c:1102:
+ uint16_t type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1104: FILE: ./net/batman-adv/distributed-arp-table.c:1104:
+ uint8_t *hw_src, *hw_dst;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1145: FILE: ./net/batman-adv/distributed-arp-table.c:1145:
+ uint16_t type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1147: FILE: ./net/batman-adv/distributed-arp-table.c:1147:
+ uint8_t *hw_src, *hw_dst;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1196: FILE: ./net/batman-adv/distributed-arp-table.c:1196:
+ uint16_t type;
total: 0 errors, 0 warnings, 22 checks, 1235 lines checked
checkpatch next ./net/batman-adv/distributed-arp-table.h
--------------------------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#57: FILE: ./net/batman-adv/distributed-arp-table.h:57:
+ uint32_t addr;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#72: FILE: ./net/batman-adv/distributed-arp-table.h:72:
+ uint32_t addr;
total: 0 errors, 0 warnings, 2 checks, 178 lines checked
checkpatch next ./net/batman-adv/fragmentation.c
------------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#69: FILE: ./net/batman-adv/fragmentation.c:69:
+ uint8_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#148: FILE: ./net/batman-adv/fragmentation.c:148:
+ uint8_t bucket;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#149: FILE: ./net/batman-adv/fragmentation.c:149:
+ uint16_t seqno, hdr_size = sizeof(struct batadv_frag_packet);
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#354: FILE: ./net/batman-adv/fragmentation.c:354:
+ uint16_t total_size;
total: 0 errors, 0 warnings, 4 checks, 513 lines checked
checkpatch next ./net/batman-adv/gateway_client.c
-------------------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#156: FILE: ./net/batman-adv/gateway_client.c:156:
+ uint32_t max_gw_factor = 0, tmp_gw_factor = 0;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#157: FILE: ./net/batman-adv/gateway_client.c:157:
+ uint32_t gw_divisor;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#158: FILE: ./net/batman-adv/gateway_client.c:158:
+ uint8_t max_tq = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#159: FILE: ./net/batman-adv/gateway_client.c:159:
+ uint8_t tq_avg;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#355: FILE: ./net/batman-adv/gateway_client.c:355:
+ uint8_t gw_tq_avg, orig_tq_avg;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#703: FILE: ./net/batman-adv/gateway_client.c:703:
+ uint8_t *p;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#819: FILE: ./net/batman-adv/gateway_client.c:819:
+ uint8_t curr_tq_avg;
total: 0 errors, 0 warnings, 7 checks, 896 lines checked
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#42: FILE: ./net/batman-adv/gateway_common.c:42:
+ uint32_t *down, uint32_t *up)
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#127: FILE: ./net/batman-adv/gateway_common.c:127:
+ uint32_t down, up;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#152: FILE: ./net/batman-adv/gateway_common.c:152:
+ uint32_t down_curr, up_curr, down_new = 0, up_new = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#198: FILE: ./net/batman-adv/gateway_common.c:198:
+ uint8_t flags,
total: 0 errors, 0 warnings, 4 checks, 250 lines checked
checkpatch next ./net/batman-adv/hash.c
---------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#28: FILE: ./net/batman-adv/hash.c:28:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#76: FILE: ./net/batman-adv/hash.c:76:
+ uint32_t i;
total: 0 errors, 0 warnings, 2 checks, 80 lines checked
checkpatch next ./net/batman-adv/hash.h
---------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#48: FILE: ./net/batman-adv/hash.h:48:
+ uint32_t size; /* size of hashtable */
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#72: FILE: ./net/batman-adv/hash.h:72:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#108: FILE: ./net/batman-adv/hash.h:108:
+ uint32_t index;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#152: FILE: ./net/batman-adv/hash.h:152:
+ uint32_t index;
total: 0 errors, 0 warnings, 4 checks, 174 lines checked
checkpatch next ./net/batman-adv/icmp_socket.c
----------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#186: FILE: ./net/batman-adv/icmp_socket.c:186:
+ uint8_t *addr;
total: 0 errors, 0 warnings, 1 checks, 410 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#390: FILE: ./net/batman-adv/main.c:390:
+ uint8_t idx;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#499: FILE: ./net/batman-adv/main.c:499:
+batadv_recv_handler_register(uint8_t packet_type,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#646: FILE: ./net/batman-adv/main.c:646:
+ uint8_t type, uint8_t version)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#695: FILE: ./net/batman-adv/main.c:695:
+ uint8_t type, uint8_t version)
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#729: FILE: ./net/batman-adv/main.c:729:
+ uint16_t tvlv_len = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#767: FILE: ./net/batman-adv/main.c:767:
+ uint8_t type, uint8_t version)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#790: FILE: ./net/batman-adv/main.c:790:
+ uint8_t type, uint8_t version,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#871: FILE: ./net/batman-adv/main.c:871:
+ uint16_t tvlv_value_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#923: FILE: ./net/batman-adv/main.c:923:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#975: FILE: ./net/batman-adv/main.c:975:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#980: FILE: ./net/batman-adv/main.c:980:
+ uint16_t tvlv_value_cont_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#981: FILE: ./net/batman-adv/main.c:981:
+ uint8_t cifnotfound = BATADV_TVLV_HANDLER_OGM_CIFNOTFND;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1037: FILE: ./net/batman-adv/main.c:1037:
+ uint16_t tvlv_value_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1069: FILE: ./net/batman-adv/main.c:1069:
+ uint8_t flags,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1073: FILE: ./net/batman-adv/main.c:1073:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1076: FILE: ./net/batman-adv/main.c:1076:
+ uint8_t type, uint8_t version, uint8_t flags)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1111: FILE: ./net/batman-adv/main.c:1111:
+ uint8_t type, uint8_t version)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1138: FILE: ./net/batman-adv/main.c:1138:
+ uint8_t *dst, uint8_t type, uint8_t version,
total: 0 errors, 0 warnings, 18 checks, 1282 lines checked
checkpatch next ./net/batman-adv/main.h
---------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#205: FILE: ./net/batman-adv/main.h:205:
+batadv_recv_handler_register(uint8_t packet_type,
CHECK: Prefer kernel type 'u64' over 'uint64_t'
#333: FILE: ./net/batman-adv/main.h:333:
+ uint64_t *counters, sum = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#351: FILE: ./net/batman-adv/main.h:351:
+ uint8_t type, uint8_t version,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#361: FILE: ./net/batman-adv/main.h:361:
+ uint8_t type, uint8_t version);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#366: FILE: ./net/batman-adv/main.h:366:
+ uint8_t flags,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#370: FILE: ./net/batman-adv/main.h:370:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#373: FILE: ./net/batman-adv/main.h:373:
+ uint8_t type, uint8_t version, uint8_t flags);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#375: FILE: ./net/batman-adv/main.h:375:
+ uint8_t type, uint8_t version);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#379: FILE: ./net/batman-adv/main.h:379:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#382: FILE: ./net/batman-adv/main.h:382:
+ uint8_t *dst, uint8_t type, uint8_t version,
total: 0 errors, 0 warnings, 10 checks, 387 lines checked
checkpatch next ./net/batman-adv/multicast.c
--------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#90: FILE: ./net/batman-adv/multicast.c:90:
+static bool batadv_mcast_mla_is_duplicate(uint8_t *mcast_addr,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#692: FILE: ./net/batman-adv/multicast.c:692:
+ uint8_t flags,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#697: FILE: ./net/batman-adv/multicast.c:697:
+ uint8_t mcast_flags = BATADV_NO_FLAGS;
total: 0 errors, 0 warnings, 3 checks, 773 lines checked
checkpatch next ./net/batman-adv/network-coding.c
-------------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#132: FILE: ./net/batman-adv/network-coding.c:132:
+ uint8_t flags,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#384: FILE: ./net/batman-adv/network-coding.c:384:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#420: FILE: ./net/batman-adv/network-coding.c:420:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#483: FILE: ./net/batman-adv/network-coding.c:483:
+ uint32_t hash = 0;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#746: FILE: ./net/batman-adv/network-coding.c:746:
+ uint32_t last_real_seqno;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#747: FILE: ./net/batman-adv/network-coding.c:747:
+ uint8_t last_ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#940: FILE: ./net/batman-adv/network-coding.c:940:
+ uint8_t *src,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#995: FILE: ./net/batman-adv/network-coding.c:995:
+ uint8_t rand_val, rand_tq;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1040: FILE: ./net/batman-adv/network-coding.c:1040:
+ uint8_t tq_weighted_neigh, tq_weighted_coding, tq_tmp;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1049: FILE: ./net/batman-adv/network-coding.c:1049:
+ uint8_t *first_source, *first_dest, *second_source, *second_dest;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1234: FILE: ./net/batman-adv/network-coding.c:1234:
+ uint8_t *dst, uint8_t *src)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1323: FILE: ./net/batman-adv/network-coding.c:1323:
+ uint8_t *eth_dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1324: FILE: ./net/batman-adv/network-coding.c:1324:
+ uint8_t *eth_src,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1640: FILE: ./net/batman-adv/network-coding.c:1640:
+ uint8_t *orig_dest, ttl, ttvn;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1732: FILE: ./net/batman-adv/network-coding.c:1732:
+ uint8_t *dest, *source;
total: 0 errors, 0 warnings, 15 checks, 1959 lines checked
checkpatch next ./net/batman-adv/originator.c
---------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#455: FILE: ./net/batman-adv/originator.c:455:
+ const uint8_t *neigh_addr,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#627: FILE: ./net/batman-adv/originator.c:627:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#979: FILE: ./net/batman-adv/originator.c:979:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1113: FILE: ./net/batman-adv/originator.c:1113:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1150: FILE: ./net/batman-adv/originator.c:1150:
+ uint32_t i;
total: 0 errors, 0 warnings, 5 checks, 1195 lines checked
checkpatch next ./net/batman-adv/originator.h
---------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#50: FILE: ./net/batman-adv/originator.h:50:
+ const uint8_t *neigh_addr,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#91: FILE: ./net/batman-adv/originator.h:91:
+ uint32_t hash = 0;
total: 0 errors, 0 warnings, 2 checks, 127 lines checked
checkpatch next ./net/batman-adv/packet.h
-----------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#200: FILE: ./net/batman-adv/packet.h:200:
+ uint8_t magic[3]; /* FF:43:05 */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#201: FILE: ./net/batman-adv/packet.h:201:
+ uint8_t type; /* bla_claimframe */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#216: FILE: ./net/batman-adv/packet.h:216:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#217: FILE: ./net/batman-adv/packet.h:217:
+ uint8_t version;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#218: FILE: ./net/batman-adv/packet.h:218:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#219: FILE: ./net/batman-adv/packet.h:219:
+ uint8_t flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#221: FILE: ./net/batman-adv/packet.h:221:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#222: FILE: ./net/batman-adv/packet.h:222:
+ uint8_t prev_sender[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#223: FILE: ./net/batman-adv/packet.h:223:
+ uint8_t reserved;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#224: FILE: ./net/batman-adv/packet.h:224:
+ uint8_t tq;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#249: FILE: ./net/batman-adv/packet.h:249:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#250: FILE: ./net/batman-adv/packet.h:250:
+ uint8_t version;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#251: FILE: ./net/batman-adv/packet.h:251:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#252: FILE: ./net/batman-adv/packet.h:252:
+ uint8_t msg_type; /* see ICMP message types above */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#253: FILE: ./net/batman-adv/packet.h:253:
+ uint8_t dst[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#254: FILE: ./net/batman-adv/packet.h:254:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#255: FILE: ./net/batman-adv/packet.h:255:
+ uint8_t uid;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#256: FILE: ./net/batman-adv/packet.h:256:
+ uint8_t align[3];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#272: FILE: ./net/batman-adv/packet.h:272:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#273: FILE: ./net/batman-adv/packet.h:273:
+ uint8_t version;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#274: FILE: ./net/batman-adv/packet.h:274:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#275: FILE: ./net/batman-adv/packet.h:275:
+ uint8_t msg_type; /* see ICMP message types above */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#276: FILE: ./net/batman-adv/packet.h:276:
+ uint8_t dst[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#277: FILE: ./net/batman-adv/packet.h:277:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#278: FILE: ./net/batman-adv/packet.h:278:
+ uint8_t uid;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#279: FILE: ./net/batman-adv/packet.h:279:
+ uint8_t reserved;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#299: FILE: ./net/batman-adv/packet.h:299:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#300: FILE: ./net/batman-adv/packet.h:300:
+ uint8_t version;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#301: FILE: ./net/batman-adv/packet.h:301:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#302: FILE: ./net/batman-adv/packet.h:302:
+ uint8_t msg_type; /* see ICMP message types above */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#303: FILE: ./net/batman-adv/packet.h:303:
+ uint8_t dst[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#304: FILE: ./net/batman-adv/packet.h:304:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#305: FILE: ./net/batman-adv/packet.h:305:
+ uint8_t uid;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#306: FILE: ./net/batman-adv/packet.h:306:
+ uint8_t rr_cur;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#308: FILE: ./net/batman-adv/packet.h:308:
+ uint8_t rr[BATADV_RR_LEN][ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#334: FILE: ./net/batman-adv/packet.h:334:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#335: FILE: ./net/batman-adv/packet.h:335:
+ uint8_t version;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#336: FILE: ./net/batman-adv/packet.h:336:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#337: FILE: ./net/batman-adv/packet.h:337:
+ uint8_t ttvn; /* destination translation table version number */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#338: FILE: ./net/batman-adv/packet.h:338:
+ uint8_t dest[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#352: FILE: ./net/batman-adv/packet.h:352:
+ uint8_t src[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#353: FILE: ./net/batman-adv/packet.h:353:
+ uint8_t subtype;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#354: FILE: ./net/batman-adv/packet.h:354:
+ uint8_t reserved;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#373: FILE: ./net/batman-adv/packet.h:373:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#374: FILE: ./net/batman-adv/packet.h:374:
+ uint8_t version; /* batman version field */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#375: FILE: ./net/batman-adv/packet.h:375:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#385: FILE: ./net/batman-adv/packet.h:385:
+ uint8_t dest[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#386: FILE: ./net/batman-adv/packet.h:386:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#401: FILE: ./net/batman-adv/packet.h:401:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#402: FILE: ./net/batman-adv/packet.h:402:
+ uint8_t version; /* batman version field */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#403: FILE: ./net/batman-adv/packet.h:403:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#404: FILE: ./net/batman-adv/packet.h:404:
+ uint8_t reserved;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#406: FILE: ./net/batman-adv/packet.h:406:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#431: FILE: ./net/batman-adv/packet.h:431:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#432: FILE: ./net/batman-adv/packet.h:432:
+ uint8_t version; /* batman version field */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#433: FILE: ./net/batman-adv/packet.h:433:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#434: FILE: ./net/batman-adv/packet.h:434:
+ uint8_t first_ttvn;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#436: FILE: ./net/batman-adv/packet.h:436:
+ uint8_t first_source[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#437: FILE: ./net/batman-adv/packet.h:437:
+ uint8_t first_orig_dest[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#439: FILE: ./net/batman-adv/packet.h:439:
+ uint8_t second_ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#440: FILE: ./net/batman-adv/packet.h:440:
+ uint8_t second_ttvn;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#441: FILE: ./net/batman-adv/packet.h:441:
+ uint8_t second_dest[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#442: FILE: ./net/batman-adv/packet.h:442:
+ uint8_t second_source[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#443: FILE: ./net/batman-adv/packet.h:443:
+ uint8_t second_orig_dest[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#462: FILE: ./net/batman-adv/packet.h:462:
+ uint8_t packet_type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#463: FILE: ./net/batman-adv/packet.h:463:
+ uint8_t version; /* batman version field */
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#464: FILE: ./net/batman-adv/packet.h:464:
+ uint8_t ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#465: FILE: ./net/batman-adv/packet.h:465:
+ uint8_t reserved;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#466: FILE: ./net/batman-adv/packet.h:466:
+ uint8_t dst[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#467: FILE: ./net/batman-adv/packet.h:467:
+ uint8_t src[ETH_ALEN];
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#469: FILE: ./net/batman-adv/packet.h:469:
+ uint16_t align;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#479: FILE: ./net/batman-adv/packet.h:479:
+ uint8_t type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#480: FILE: ./net/batman-adv/packet.h:480:
+ uint8_t version;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#503: FILE: ./net/batman-adv/packet.h:503:
+ uint8_t flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#504: FILE: ./net/batman-adv/packet.h:504:
+ uint8_t ttvn;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#518: FILE: ./net/batman-adv/packet.h:518:
+ uint16_t reserved;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#530: FILE: ./net/batman-adv/packet.h:530:
+ uint8_t flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#531: FILE: ./net/batman-adv/packet.h:531:
+ uint8_t reserved[3];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#532: FILE: ./net/batman-adv/packet.h:532:
+ uint8_t addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#542: FILE: ./net/batman-adv/packet.h:542:
+ uint8_t client[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#552: FILE: ./net/batman-adv/packet.h:552:
+ uint8_t flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#553: FILE: ./net/batman-adv/packet.h:553:
+ uint8_t reserved[3];
total: 0 errors, 0 warnings, 82 checks, 556 lines checked
checkpatch next ./net/batman-adv/routing.c
------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#656: FILE: ./net/batman-adv/routing.c:656:
+ uint8_t *dst_addr, unsigned short vid)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#661: FILE: ./net/batman-adv/routing.c:661:
+ uint8_t *orig_addr, orig_ttvn;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#701: FILE: ./net/batman-adv/routing.c:701:
+ uint8_t curr_ttvn, old_ttvn;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#836: FILE: ./net/batman-adv/routing.c:836:
+ uint8_t *orig_addr;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#907: FILE: ./net/batman-adv/routing.c:907:
+ uint16_t tvlv_buff_len;
CHECK: Prefer kernel type 's32' over 'int32_t'
#1010: FILE: ./net/batman-adv/routing.c:1010:
+ int32_t seq_diff;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1011: FILE: ./net/batman-adv/routing.c:1011:
+ uint32_t seqno;
total: 0 errors, 0 warnings, 7 checks, 1102 lines checked
checkpatch next ./net/batman-adv/send.c
---------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#175: FILE: ./net/batman-adv/send.c:175:
+ uint8_t ttvn = (uint8_t)atomic_read(&orig_node->last_ttvn);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#351: FILE: ./net/batman-adv/send.c:351:
+ uint8_t *src, *dst;
total: 0 errors, 0 warnings, 2 checks, 663 lines checked
checkpatch next ./net/batman-adv/send.h
---------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#103: FILE: ./net/batman-adv/send.h:103:
+ uint8_t *dst_hint,
total: 0 errors, 0 warnings, 1 checks, 111 lines checked
checkpatch next ./net/batman-adv/soft-interface.c
-------------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#134: FILE: ./net/batman-adv/soft-interface.c:134:
+ uint8_t old_addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#189: FILE: ./net/batman-adv/soft-interface.c:189:
+ static const uint8_t stp_addr[ETH_ALEN] = {0x01, 0x80, 0xC2, 0x00,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#191: FILE: ./net/batman-adv/soft-interface.c:191:
+ static const uint8_t ectp_addr[ETH_ALEN] = {0xCF, 0x00, 0x00, 0x00,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#194: FILE: ./net/batman-adv/soft-interface.c:194:
+ uint8_t *dst_hint = NULL, chaddr[ETH_ALEN];
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#201: FILE: ./net/batman-adv/soft-interface.c:201:
+ uint32_t seqno;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#745: FILE: ./net/batman-adv/soft-interface.c:745:
+ uint32_t random_seqno;
total: 0 errors, 0 warnings, 6 checks, 1137 lines checked
checkpatch next ./net/batman-adv/sysfs.c
----------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#460: FILE: ./net/batman-adv/sysfs.c:460:
+ uint32_t down, up;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#515: FILE: ./net/batman-adv/sysfs.c:515:
+ uint32_t mark, mask;
total: 0 errors, 0 warnings, 2 checks, 955 lines checked
checkpatch next ./net/batman-adv/translation-table.c
----------------------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#90: FILE: ./net/batman-adv/translation-table.c:90:
+ uint32_t hash = 0;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#114: FILE: ./net/batman-adv/translation-table.c:114:
+ uint32_t index;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#225: FILE: ./net/batman-adv/translation-table.c:225:
+ const uint8_t *addr, unsigned short vid)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#370: FILE: ./net/batman-adv/translation-table.c:370:
+ uint8_t flags = common->flags | event_flags;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#464: FILE: ./net/batman-adv/translation-table.c:464:
+ uint16_t num_vlan = 0, tt_local_entries = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#539: FILE: ./net/batman-adv/translation-table.c:539:
+ uint8_t remote_flags;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#540: FILE: ./net/batman-adv/translation-table.c:540:
+ uint32_t match_mark;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#726: FILE: ./net/batman-adv/translation-table.c:726:
+ uint16_t num_vlan = 0, num_entries = 0, change_offset, tvlv_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#729: FILE: ./net/batman-adv/translation-table.c:729:
+ uint8_t *tt_change_ptr;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#799: FILE: ./net/batman-adv/translation-table.c:799:
+ uint16_t num_vlan = 0, num_entries = 0, tvlv_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#800: FILE: ./net/batman-adv/translation-table.c:800:
+ uint8_t *tt_change_ptr;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#857: FILE: ./net/batman-adv/translation-table.c:857:
+ uint16_t tvlv_len;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#931: FILE: ./net/batman-adv/translation-table.c:931:
+ uint32_t i;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#936: FILE: ./net/batman-adv/translation-table.c:936:
+ uint16_t np_flag = BATADV_TT_CLIENT_NOPURGE;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1004: FILE: ./net/batman-adv/translation-table.c:1004:
+ uint16_t flags, const char *message)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1031: FILE: ./net/batman-adv/translation-table.c:1031:
+ const uint8_t *addr, unsigned short vid,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1035: FILE: ./net/batman-adv/translation-table.c:1035:
+ uint16_t flags, curr_flags = BATADV_NO_FLAGS;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1126: FILE: ./net/batman-adv/translation-table.c:1126:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1147: FILE: ./net/batman-adv/translation-table.c:1147:
+ uint32_t i;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1328: FILE: ./net/batman-adv/translation-table.c:1328:
+ uint16_t local_flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1525: FILE: ./net/batman-adv/translation-table.c:1525:
+ uint8_t last_ttvn;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1526: FILE: ./net/batman-adv/translation-table.c:1526:
+ uint16_t flags;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1600: FILE: ./net/batman-adv/translation-table.c:1600:
+ uint32_t i;
CHECK: Prefer kernel type 's32' over 'int32_t'
#1820: FILE: ./net/batman-adv/translation-table.c:1820:
+ int32_t match_vid,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1825: FILE: ./net/batman-adv/translation-table.c:1825:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1896: FILE: ./net/batman-adv/translation-table.c:1896:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1937: FILE: ./net/batman-adv/translation-table.c:1937:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1998: FILE: ./net/batman-adv/translation-table.c:1998:
+ const uint8_t *src,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1999: FILE: ./net/batman-adv/translation-table.c:1999:
+ const uint8_t *addr,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#2075: FILE: ./net/batman-adv/translation-table.c:2075:
+ uint32_t i, crc_tmp, crc = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2076: FILE: ./net/batman-adv/translation-table.c:2076:
+ uint8_t flags;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#2150: FILE: ./net/batman-adv/translation-table.c:2150:
+ uint32_t i, crc_tmp, crc = 0;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2151: FILE: ./net/batman-adv/translation-table.c:2151:
+ uint8_t flags;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#2324: FILE: ./net/batman-adv/translation-table.c:2324:
+ uint16_t tt_tot, tt_num_entries = 0;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#2325: FILE: ./net/batman-adv/translation-table.c:2325:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#2371: FILE: ./net/batman-adv/translation-table.c:2371:
+ uint32_t crc;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#2426: FILE: ./net/batman-adv/translation-table.c:2426:
+ uint32_t crc;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2456: FILE: ./net/batman-adv/translation-table.c:2456:
+ uint8_t ttvn,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#2458: FILE: ./net/batman-adv/translation-table.c:2458:
+ uint16_t num_vlan, bool full_table)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2536: FILE: ./net/batman-adv/translation-table.c:2536:
+ uint8_t *req_src, uint8_t *req_dst)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2544: FILE: ./net/batman-adv/translation-table.c:2544:
+ uint8_t orig_ttvn, req_ttvn;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#2545: FILE: ./net/batman-adv/translation-table.c:2545:
+ uint16_t tvlv_len;
CHECK: Prefer kernel type 's32' over 'int32_t'
#2546: FILE: ./net/batman-adv/translation-table.c:2546:
+ int32_t tt_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2674: FILE: ./net/batman-adv/translation-table.c:2674:
+ uint8_t my_ttvn, req_ttvn;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#2675: FILE: ./net/batman-adv/translation-table.c:2675:
+ uint16_t tvlv_len;
CHECK: Prefer kernel type 's32' over 'int32_t'
#2677: FILE: ./net/batman-adv/translation-table.c:2677:
+ int32_t tt_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2786: FILE: ./net/batman-adv/translation-table.c:2786:
+ uint8_t *req_src, uint8_t *req_dst)
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#2797: FILE: ./net/batman-adv/translation-table.c:2797:
+ uint16_t tt_num_changes, uint8_t ttvn)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2829: FILE: ./net/batman-adv/translation-table.c:2829:
+ uint8_t ttvn, uint8_t *resp_src,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#2860: FILE: ./net/batman-adv/translation-table.c:2860:
+ uint16_t tt_num_changes, uint8_t ttvn,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2910: FILE: ./net/batman-adv/translation-table.c:2910:
+ uint8_t *resp_src, uint16_t num_entries)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#2915: FILE: ./net/batman-adv/translation-table.c:2915:
+ uint8_t *tvlv_ptr = (uint8_t *)tt_data;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#2916: FILE: ./net/batman-adv/translation-table.c:2916:
+ uint16_t change_offset;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#3134: FILE: ./net/batman-adv/translation-table.c:3134:
+ uint16_t flags, bool enable, bool count)
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#3138: FILE: ./net/batman-adv/translation-table.c:3138:
+ uint16_t changed_num = 0;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#3140: FILE: ./net/batman-adv/translation-table.c:3140:
+ uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#3182: FILE: ./net/batman-adv/translation-table.c:3182:
+ uint32_t i;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3266: FILE: ./net/batman-adv/translation-table.c:3266:
+ uint8_t *dst, unsigned short vid)
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#3316: FILE: ./net/batman-adv/translation-table.c:3316:
+ uint16_t tt_num_changes, uint8_t ttvn)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3318: FILE: ./net/batman-adv/translation-table.c:3318:
+ uint8_t orig_ttvn = (uint8_t)atomic_read(&orig_node->last_ttvn);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3396: FILE: ./net/batman-adv/translation-table.c:3396:
+ uint8_t *addr, unsigned short vid)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3422: FILE: ./net/batman-adv/translation-table.c:3422:
+ uint8_t *addr, unsigned short vid)
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3508: FILE: ./net/batman-adv/translation-table.c:3508:
+ uint8_t flags, void *tvlv_value,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#3514: FILE: ./net/batman-adv/translation-table.c:3514:
+ uint16_t num_entries, num_vlan;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3550: FILE: ./net/batman-adv/translation-table.c:3550:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#3555: FILE: ./net/batman-adv/translation-table.c:3555:
+ uint16_t tt_vlan_len, tt_num_entries;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3631: FILE: ./net/batman-adv/translation-table.c:3631:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#3715: FILE: ./net/batman-adv/translation-table.c:3715:
+ const uint8_t *addr, unsigned short vid)
total: 0 errors, 0 warnings, 68 checks, 3729 lines checked
checkpatch next ./net/batman-adv/translation-table.h
----------------------------------------------------
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#34: FILE: ./net/batman-adv/translation-table.h:34:
+ const uint8_t *addr, unsigned short vid,
CHECK: Prefer kernel type 's32' over 'int32_t'
#40: FILE: ./net/batman-adv/translation-table.h:40:
+ int32_t match_vid, const char *message);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#42: FILE: ./net/batman-adv/translation-table.h:42:
+ const uint8_t *addr, unsigned short vid);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#44: FILE: ./net/batman-adv/translation-table.h:44:
+ const uint8_t *src,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#45: FILE: ./net/batman-adv/translation-table.h:45:
+ const uint8_t *addr,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#51: FILE: ./net/batman-adv/translation-table.h:51:
+ uint8_t *dst, unsigned short vid);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#54: FILE: ./net/batman-adv/translation-table.h:54:
+ uint8_t *addr, unsigned short vid);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#56: FILE: ./net/batman-adv/translation-table.h:56:
+ uint8_t *addr, unsigned short vid);
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#63: FILE: ./net/batman-adv/translation-table.h:63:
+ const uint8_t *addr, unsigned short vid);
total: 0 errors, 0 warnings, 9 checks, 65 lines checked
checkpatch next ./net/batman-adv/types.h
----------------------------------------
CHECK: Prefer kernel type 's16' over 'int16_t'
#106: FILE: ./net/batman-adv/types.h:106:
+ int16_t if_num;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#109: FILE: ./net/batman-adv/types.h:109:
+ uint8_t num_bcasts;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#135: FILE: ./net/batman-adv/types.h:135:
+ uint32_t last_real_seqno;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#136: FILE: ./net/batman-adv/types.h:136:
+ uint8_t last_ttl;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#155: FILE: ./net/batman-adv/types.h:155:
+ uint16_t seqno;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#156: FILE: ./net/batman-adv/types.h:156:
+ uint16_t size;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#157: FILE: ./net/batman-adv/types.h:157:
+ uint16_t total_size;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#169: FILE: ./net/batman-adv/types.h:169:
+ uint8_t no;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#178: FILE: ./net/batman-adv/types.h:178:
+ uint32_t crc;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#209: FILE: ./net/batman-adv/types.h:209:
+ uint8_t *bcast_own_sum;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#262: FILE: ./net/batman-adv/types.h:262:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#271: FILE: ./net/batman-adv/types.h:271:
+ uint8_t mcast_flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#276: FILE: ./net/batman-adv/types.h:276:
+ uint8_t capabilities;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#277: FILE: ./net/batman-adv/types.h:277:
+ uint8_t capa_initialized;
CHECK: Prefer kernel type 's16' over 'int16_t'
#280: FILE: ./net/batman-adv/types.h:280:
+ int16_t tt_buff_len;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#285: FILE: ./net/batman-adv/types.h:285:
+ uint32_t last_bcast_seqno;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#335: FILE: ./net/batman-adv/types.h:335:
+ uint32_t bandwidth_down;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#336: FILE: ./net/batman-adv/types.h:336:
+ uint32_t bandwidth_up;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#358: FILE: ./net/batman-adv/types.h:358:
+ uint8_t addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#378: FILE: ./net/batman-adv/types.h:378:
+ uint8_t tq_recv[BATADV_TQ_GLOBAL_WINDOW_SIZE];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#379: FILE: ./net/batman-adv/types.h:379:
+ uint8_t tq_index;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#380: FILE: ./net/batman-adv/types.h:380:
+ uint8_t tq_avg;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#382: FILE: ./net/batman-adv/types.h:382:
+ uint8_t real_packet_count;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#398: FILE: ./net/batman-adv/types.h:398:
+ uint8_t last_ttl;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#411: FILE: ./net/batman-adv/types.h:411:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 's16' over 'int16_t'
#543: FILE: ./net/batman-adv/types.h:543:
+ int16_t last_changeset_len;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#663: FILE: ./net/batman-adv/types.h:663:
+ uint8_t flags;
CHECK: Prefer kernel type 'u64' over 'uint64_t'
#781: FILE: ./net/batman-adv/types.h:781:
+ uint64_t __percpu *bat_counters; /* Per cpu counters */
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#803: FILE: ./net/batman-adv/types.h:803:
+ uint32_t isolation_mark;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#804: FILE: ./net/batman-adv/types.h:804:
+ uint32_t isolation_mark_mask;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#870: FILE: ./net/batman-adv/types.h:870:
+ uint8_t icmp_packet[BATADV_ICMP_MAX_PACKET_SIZE];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#891: FILE: ./net/batman-adv/types.h:891:
+ uint8_t orig[ETH_ALEN];
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#898: FILE: ./net/batman-adv/types.h:898:
+ uint16_t crc;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#914: FILE: ./net/batman-adv/types.h:914:
+ uint8_t addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#936: FILE: ./net/batman-adv/types.h:936:
+ uint8_t addr[ETH_ALEN];
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#939: FILE: ./net/batman-adv/types.h:939:
+ uint16_t flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#981: FILE: ./net/batman-adv/types.h:981:
+ uint8_t ttvn;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1004: FILE: ./net/batman-adv/types.h:1004:
+ uint8_t addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1018: FILE: ./net/batman-adv/types.h:1018:
+ uint8_t addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1035: FILE: ./net/batman-adv/types.h:1035:
+ uint8_t addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1059: FILE: ./net/batman-adv/types.h:1059:
+ uint8_t next_hop[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1060: FILE: ./net/batman-adv/types.h:1060:
+ uint8_t prev_hop[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1112: FILE: ./net/batman-adv/types.h:1112:
+ uint8_t own;
CHECK: Prefer kernel type 'u16' over 'uint16_t'
#1114: FILE: ./net/batman-adv/types.h:1114:
+ uint16_t packet_len;
CHECK: Prefer kernel type 'u32' over 'uint32_t'
#1115: FILE: ./net/batman-adv/types.h:1115:
+ uint32_t direct_link_flags;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1116: FILE: ./net/batman-adv/types.h:1116:
+ uint8_t num_packets;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1191: FILE: ./net/batman-adv/types.h:1191:
+ uint8_t mac_addr[ETH_ALEN];
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1253: FILE: ./net/batman-adv/types.h:1253:
+ uint8_t flags,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1256: FILE: ./net/batman-adv/types.h:1256:
+ uint8_t *src, uint8_t *dst,
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1258: FILE: ./net/batman-adv/types.h:1258:
+ uint8_t type;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1259: FILE: ./net/batman-adv/types.h:1259:
+ uint8_t version;
CHECK: Prefer kernel type 'u8' over 'uint8_t'
#1260: FILE: ./net/batman-adv/types.h:1260:
+ uint8_t flags;
total: 0 errors, 0 warnings, 52 checks, 1278 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/Makefile | 6
net/batman-adv/bat_algo.h | 2
net/batman-adv/bat_iv_ogm.c | 210 ++++++++++--------------
net/batman-adv/bitarray.c | 6
net/batman-adv/bitarray.h | 8
net/batman-adv/bridge_loop_avoidance.c | 56 ++----
net/batman-adv/bridge_loop_avoidance.h | 12 -
net/batman-adv/debugfs.c | 47 +----
net/batman-adv/debugfs.h | 43 ----
net/batman-adv/distributed-arp-table.c | 47 -----
net/batman-adv/distributed-arp-table.h | 15 -
net/batman-adv/fragmentation.c | 44 +----
net/batman-adv/fragmentation.h | 11 -
net/batman-adv/gateway_client.c | 41 +---
net/batman-adv/gateway_client.h | 10 -
net/batman-adv/gateway_common.c | 13 -
net/batman-adv/gateway_common.h | 9 -
net/batman-adv/hard-interface.c | 40 +---
net/batman-adv/hard-interface.h | 13 -
net/batman-adv/hash.c | 8
net/batman-adv/hash.h | 33 ++-
net/batman-adv/icmp_socket.c | 35 ----
net/batman-adv/icmp_socket.h | 9 -
net/batman-adv/main.c | 103 ++++-------
net/batman-adv/main.h | 40 ++--
net/batman-adv/multicast.c | 31 ---
net/batman-adv/multicast.h | 8
net/batman-adv/network-coding.c | 53 +-----
net/batman-adv/network-coding.h | 15 -
net/batman-adv/originator.c | 36 +---
net/batman-adv/originator.h | 28 +--
net/batman-adv/packet.h | 5
net/batman-adv/routing.c | 38 +---
net/batman-adv/routing.h | 12 -
net/batman-adv/send.c | 40 +---
net/batman-adv/send.h | 15 -
net/batman-adv/soft-interface.c | 72 ++------
net/batman-adv/soft-interface.h | 13 -
net/batman-adv/sysfs.c | 62 ++-----
net/batman-adv/sysfs.h | 12 -
net/batman-adv/translation-table.c | 91 ++++------
net/batman-adv/translation-table.h | 11 -
net/batman-adv/types.h | 33 ---
43 files changed, 446 insertions(+), 990 deletions(-)