Name of failed tests ====================
checkpatch master bitarray.h checkpatch master debugfs.c checkpatch master fragmentation.h checkpatch master multicast.h checkpatch master network-coding.c checkpatch master translation-table.c checkpatch next bat_iv_ogm.c checkpatch next bitarray.h checkpatch next debugfs.c checkpatch next distributed-arp-table.c checkpatch next fragmentation.h checkpatch next hash.c checkpatch next multicast.h checkpatch next network-coding.c checkpatch next translation-table.c
Output of different failed tests ================================
checkpatch next bat_iv_ogm.c:
>>
WARNING: Prefer kmalloc_array over kmalloc with multiply #126: FILE: bat_iv_ogm.c:126: + data_ptr = kmalloc(max_if_num * sizeof(uint8_t), GFP_ATOMIC);
WARNING: Prefer kmalloc_array over kmalloc with multiply #186: FILE: bat_iv_ogm.c:186: + data_ptr = kmalloc(max_if_num * sizeof(uint8_t), GFP_ATOMIC);
total: 0 errors, 2 warnings, 0 checks, 1979 lines checked
checkpatch next bitarray.h:
>>
WARNING: else is not generally useful after a break or return #32: FILE: bitarray.h:32: + return 0; + else
total: 0 errors, 1 warnings, 0 checks, 52 lines checked
checkpatch next debugfs.c:
>>
WARNING: void function return statements are not generally useful #237: FILE: debugfs.c:237: + return; +}
total: 0 errors, 1 warnings, 0 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>
WARNING: Prefer kmalloc_array over kmalloc with multiply #540: FILE: distributed-arp-table.c:540: + res = kmalloc(BATADV_DAT_CANDIDATES_NUM * sizeof(*res), GFP_ATOMIC);
total: 0 errors, 1 warnings, 0 checks, 1202 lines checked
checkpatch next fragmentation.h:
>>
WARNING: else is not generally useful after a break or return #44: FILE: fragmentation.h:44: + return true; + else
total: 0 errors, 1 warnings, 0 checks, 48 lines checked
checkpatch next hash.c:
>>
WARNING: Prefer kmalloc_array over kmalloc with multiply #49: FILE: hash.c:49: + hash->table = kmalloc(sizeof(*hash->table) * size, GFP_ATOMIC);
WARNING: Prefer kmalloc_array over kmalloc with multiply #53: FILE: hash.c:53: + hash->list_locks = kmalloc(sizeof(*hash->list_locks) * size,
total: 0 errors, 2 warnings, 0 checks, 76 lines checked
checkpatch next multicast.h:
>>
WARNING: void function return statements are not generally useful #54: FILE: multicast.h:54: + return; +}
WARNING: void function return statements are not generally useful #71: FILE: multicast.h:71: + return; +}
WARNING: void function return statements are not generally useful #76: FILE: multicast.h:76: + return; +}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next network-coding.c:
>>
WARNING: else is not generally useful after a break or return #1215: FILE: network-coding.c:1215: + return false; + else
total: 0 errors, 1 warnings, 0 checks, 1937 lines checked
checkpatch next translation-table.c:
>>
WARNING: else is not generally useful after a break or return #2772: FILE: translation-table.c:2772: + return batadv_send_my_tt_response(bat_priv, tt_data, req_src); + else
total: 0 errors, 1 warnings, 0 checks, 3712 lines checked