Build check errors found: 2014-05-26

postmaster at open-mesh.org postmaster at open-mesh.org
Mon May 26 01:36:49 CEST 2014


Name of failed tests
====================

checkpatch master bat_iv_ogm.c
checkpatch master distributed-arp-table.c
checkpatch master hash.c
checkpatch master sysfs.h
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next distributed-arp-table.c
checkpatch next hash.c
checkpatch next sysfs.h
checkpatch next types.h

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 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 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



More information about the linux-merge mailing list