Name of failed tests ====================
checkpatch master bat_iv_ogm.c checkpatch master bitarray.h checkpatch master debugfs.c checkpatch master fragmentation.h checkpatch master multicast.h checkpatch master network-coding.c checkpatch master soft-interface.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 soft-interface.c checkpatch next translation-table.c
Output of different failed tests ================================
checkpatch master bat_iv_ogm.c:
>>
WARNING: void function return statements are not generally useful #702: FILE: bat_iv_ogm.c:702: + return;
total: 0 errors, 1 warnings, 0 checks, 1980 lines checked
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);
WARNING: void function return statements are not generally useful #701: FILE: bat_iv_ogm.c:701: + return;
total: 0 errors, 3 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 #236: FILE: debugfs.c:236: + return;
WARNING: void function return statements are not generally useful #440: FILE: debugfs.c:440: + return;
total: 0 errors, 2 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 #53: FILE: multicast.h:53: + return;
WARNING: void function return statements are not generally useful #70: FILE: multicast.h:70: + return;
WARNING: void function return statements are not generally useful #75: FILE: multicast.h:75: + 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
WARNING: void function return statements are not generally useful #1569: FILE: network-coding.c:1569: + return;
WARNING: void function return statements are not generally useful #1576: FILE: network-coding.c:1576: + return;
total: 0 errors, 3 warnings, 0 checks, 1937 lines checked
checkpatch next soft-interface.c:
>>
WARNING: void function return statements are not generally useful #449: FILE: soft-interface.c:449: + return;
total: 0 errors, 1 warnings, 0 checks, 1114 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
linux-merge@lists.open-mesh.org