Name of failed tests ====================
checkpatch master bat_iv_ogm.c checkpatch master debugfs.c checkpatch master multicast.h checkpatch master network-coding.c checkpatch master soft-interface.c checkpatch master sysfs.h checkpatch master types.h checkpatch next bat_iv_ogm.c checkpatch next debugfs.c checkpatch next distributed-arp-table.c checkpatch next hash.c checkpatch next multicast.h checkpatch next network-coding.c checkpatch next soft-interface.c checkpatch next sysfs.h checkpatch next types.h
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 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 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: 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, 2 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 sysfs.h:
>>
WARNING: Missing a blank line after declarations #32: FILE: sysfs.h:32: + struct attribute attr; + ssize_t (*show)(struct kobject *kobj, struct attribute *attr,
total: 0 errors, 1 warnings, 0 checks, 50 lines checked
checkpatch next types.h:
>>
WARNING: Missing a blank line after declarations #1134: FILE: types.h:1134: + char *name; + int (*bat_iface_enable)(struct batadv_hard_iface *hard_iface);
WARNING: Missing a blank line after declarations #1232: FILE: types.h:1232: + struct hlist_node list; + void (*ogm_handler)(struct batadv_priv *bat_priv,
total: 0 errors, 2 warnings, 0 checks, 1259 lines checked